phico/profiler
Composer 安装命令:
composer require phico/profiler
包简介
Lightweight app timer and profiling middleware for Phico
README 文档
README
Lightweight app timer and profiling middleware for Phico
Installation
Using composer
composer require phico/profiler
Usage
Add the middleware to your application
// /app/middleware.php $app->use[ ... new \Phico\Profiler\ProfilerMiddleware, ... ];
Start a timer
$timer->start('account-action', 'You may add a description');
Stop a timer
$timer->stop('account-action');
Check the response headers for the details
Issues
Profiler is considered complete, however if you discover any bugs or issues in it's behaviour or performance please create an issue, and if you are able a pull request with a fix.
License
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-07-12