warxcell/excimer-handler
Composer 安装命令:
composer require warxcell/excimer-handler
包简介
README 文档
README
Easily integrate your PHP excimer profiles from long-running PSR Request APP with https://github.com/Warxcell/excimer-ui-server.
Just decorate your app handler. (Example from Symfony APP)
$services->set(\Warxcell\ExcimerHandler\SpeedscopeDataSender::class)->args([ '$url' => 'https://your-on-premise-installation.com/profile', ]); $services->set(\Warxcell\ExcimerHandler\ExcimerRequestHandler::class) ->decorate(AppHandler::class) ->args([ '$handler' => service('.inner'), ]);
If you want to profile symfony commands, register following service.
$services->set(\Warxcell\ExcimerHandler\ExcimerCommandHandler::class)->args([ '$enabled' => env('PROFILE')->default('')->bool(), ]);
统计信息
- 总下载量: 307
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-08-11