Custom panels for yii-debug-toolbar
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
panels
views/panels
README.md

README.md

Custom panels for yii-debug-toolbar

Repo root is ext.yii-debug-toolbar.

  1. YiiDebugToolbarPanelVarDumper - use it like Yii::log(CVarDumper::dumpAsString($var, 10, true), 'varDumper', $category = 'application')

Usage

Place custom files to the ext.yii-debug-toolbar.panels folder

Change config file:

...
'log'=>array(
    'class'=>'CLogRouter',
    'routes'=>array(
        array(
            'class' => 'ext.yii-debug-toolbar.YiiDebugToolbarRoute',
            'panels' => array('YiiDebugToolbarPanelVarDumper'),
            'ipFilters'=>array('127.0.0.1','192.168.1.*'),
        ),
    ),
),
...