trntv/yii2-debug-xhprof

Yii2调试模块的xhprof面板

安装数: 14,394

依赖者: 1

建议者: 6

安全性: 0

星标: 16

关注者: 6

分支: 9

开放问题: 3

类型:yii2-extension

dev-master 2014-10-16 19:03 UTC

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'
            ]
        ]
    ]
    ...
]

用法

很快;)