silencenjoyer/silence-kernel 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

silencenjoyer/silence-kernel

最新稳定版本:0.0.3

Composer 安装命令:

composer require silencenjoyer/silence-kernel

包简介

Silence application kernel.

README 文档

README

Latest Stable Version PHP Version Require License

The core of the Silence PHP framework, providing a configurable environment, basic application loading, integration with Symfony DependencyInjection, and application lifecycle management.

This package is part of the monorepository silencenjoyer/silence, but can be used independently.

⚙️ Installation

composer require silencenjoyer/silence-kernel

🚀 Quick start

$config = KernelConfig::withBasePath(dirname(__DIR__, 2))
    ->withExtensions([
        new RouteExtension(),
        new TwigExtension(),
    ])
;

(new Kernel($config))->run(); // launches the application

🧱 Features:

  • Support for environment configurations ⚒️💼🔄
  • PSR-11-compatible container (based on Symfony)
    • Simple mechanism for loading services and parameters
  • Starting point for the application 🏁

🧪 Testing

php vendor/bin/phpunit

🧩 Use in the composition of Silence

The package is used as the basis for all applications and modules within the Silence ecosystem. If you are writing your own package, you can connect silencenjoyer/silence-kernel to manage dependencies and the environment.

📄 License

This package is distributed under the MIT licence. For more details, see LICENSE.

统计信息

  • 总下载量: 11
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-18