trntv / yii2-debug-xhprof
Yii2调试模块的xhprof面板
dev-master
2014-10-16 19:03 UTC
Requires
Suggests
- ext-xhprof: Xhprof PHP profiler
This package is auto-updated.
Last update: 2024-09-22 09:28:48 UTC
README
Yii2调试模块的xhprof面板
重要
这是一个早期原型,它正在运行,但外观相当丑陋。为其做出贡献,使其更加美观和出色。
安装
安装此扩展的首选方式是通过 composer。
运行以下命令之一
php composer.phar require --prefer-dist trntv/yii2-debug-xhprof "*"
或
"trntv/yii2-debug-xhprof": "*"
将以下内容添加到您的 composer.json
文件的require部分。
将面板添加到您的调试模块配置中
'modules'=>[
...
'debug'=>[
...
'panels'=>[
...
'xhprof'=>[
'class'=>'\trntv\debug\xhprof\panels\XhprofPanel'
]
]
]
...
]
用法
很快;)