lysice/laravel-xhprof
Composer 安装命令:
composer require lysice/laravel-xhprof
包简介
Library for profiling queries in Laravel with xhprof
README 文档
README
Library for profiling queries in Laravel with xhprof
Install:
composer require lysice/laravel-xhprof
Settings
Create file xhprof.php in config path with content:
<?php return [ 'enabled' => true, 'global_middleware' => true, 'flags' => XHPROF_FLAGS_CPU|XHPROF_FLAGS_MEMORY|XHPROF_FLAGS_NO_BUILTINS ];
Params description
| Name | Default | Description |
|---|---|---|
| enabled | true |
Enabling or disabling the profiler |
| global_middleware | true |
The inclusion the global middleware for profiling at any route |
| flags | XHPROF_FLAGS_CPU and XHPROF_FLAGS_MEMORY and XHPROF_FLAGS_NO_BUILTINS |
parameter of xhprof_enable. |
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-14