slexx/ yii2-debug-xhprof
Yii2调试模块的xhprof面板
v1.0.0
2020-02-27 10:57 UTC
Requires
Suggests
- ext-xhprof: Xhprof PHP profiler
This package is auto-updated.
Last update: 2024-09-27 21:28:24 UTC
README
Yii2调试模块的xhprof面板
重要
这是一个早期原型,它正在运行,但看起来很丑。为其做出贡献,让它变得更加美观和出色。
安装
安装此扩展的首选方式是通过 composer。
运行以下命令之一
php composer.phar require --prefer-dist slexx/yii2-debug-xhprof "*"
或者
"slexx/yii2-debug-xhprof": "*"
将其添加到您的 composer.json
文件的 require 部分中。
将面板添加到您的调试模块配置中
'modules'=>[
...
'debug'=>[
...
'panels'=>[
...
'xhprof'=>[
'class'=>'\trntv\debug\xhprof\panels\XhprofPanel'
]
]
]
...
]
用法
很快;)