aatis/kernel
最新稳定版本:1.6.0
Composer 安装命令:
composer require aatis/kernel
包简介
Kernel of Aatis
README 文档
README
Advertisement
This package is a part of Aatis and can't be used without the following packages :
aatis/dependency-injection(https://github.com/BatMaxou/aatis-dependency-injection)aatis/http-foundation(https://github.com/BatMaxou/aatis-http-foundation)aatis/routing(https://github.com/BatMaxou/aatis-routing)aatis/logger(https://github.com/BatMaxou/aatis-logger)aatis/error-handler(https://github.com/BatMaxou/aatis-error-handler)
Installation
composer require aatis/kernel
Usage
Requirements
Initialize Aatis packages (see the README of each package)
Basic usage
If needed, create a kernel class and extend the Aatis Kernel :
use Aatis\Kernel as BaseKernel; class Kernel extends BaseKernel { public function handle(Request $request): void { // extra process parent::handle($request); // extra process } }
Or use it directly :
$request = Request::createFromGlobals(); (new Kernel())->handle($request);
统计信息
- 总下载量: 96
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2023-12-01