slexx/yii2-debug-xhprof

xhprof panel for Yii2 debug module

v1.0.0 2020-02-27 10:57 UTC

This package is auto-updated.

Last update: 2024-03-27 20:15:50 UTC


README

xhprof panel for Yii2 debug module

IMPORTANT

This is an early prototype, it is working, but pretty ugly. Contribute to it, to make it more pretty and awesome.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist slexx/yii2-debug-xhprof "*"

or add

"slexx/yii2-debug-xhprof": "*"

to the require section of your composer.json file.

add panel to your debug module configuration

'modules'=>[
    ...
    'debug'=>[
        ...
        'panels'=>[
            ...
            'xhprof'=>[
                'class'=>'\trntv\debug\xhprof\panels\XhprofPanel'
            ]
        ]
    ]
    ...
]

Usage

soon ;)