yii-debug-toolbar A configurable set of panels that display various debug information about the current request/response.

  1. Requirements
  2. Installation
  3. Usage and Configuration
  4. Resources
  5. Working preview
  6. Change Log

The Yii Debug Toolbar is a configurable set of panels that display various debug information about the current request/response and when clicked, display more details about the panel's content.

It is a ported to PHP famous Django Debug Toolbar.

Currently, the following panels have been written and are working:

  • Request timer
  • A list of superglobals
  • Application settings
  • SQL queries including time to execute and param bindings
  • Logging output via Yii built-in logging

Requirements

  • JavaScript enabled browser
  • Yii 1.1.4 +

Installation

Extract the yii-debug-toolbar from archive under protected/extensions

Usage and Configuration

For use yii-debug-toolbar need to specify new route in log component:

'log'=>array(
        'class'=>'CLogRouter',
        'routes'=>array(
            array(
                'class'=>'ext.yii-debug-toolbar.YiiDebugToolbarRoute',
                'ipFilters'=>array('127.0.0.1','192.168.1.215'),
            ),
        ),
    ),
  • Make sure your IP is listed in the ipFilters setting. If you are working locally this option not required.
  • Enable Profiling and ParamLogging for all used DB connections.

Resources

Working preview

Screenshot 1

Screenshot 2

Screenshot 3

Change Log

December 10, 2013
* Updated design
* Fixed few bugs reported by users on GitHub issues page
November 28, 2011
* Added Views Rendering panel. It allows to view information about rendering process (view names, render methods, context objects and properties)
* Miscellaneous fixes
September 21, 2011
* Added SQL syntax highlighting
* Added highlighting of potentially inefficient queries 
* Miscellaneous fixes and UI enhancements
Juny 27, 2011
* Fixed PHP Error: `$_SESSION` variable is not defined
Juny 21, 2011
* Enhanced SQL log panel;
* Added new tab to SQL debug info with SQL servers info for all used connections;
* Added Yii debug status indicator to application settings panel;
Juny 20, 2011
* Initial release;
169 4
157 followers
19 323 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Logging
Developed by: Skinner
Created on: Jun 21, 2011
Last updated: 11 years ago

Downloads

show all

Related Extensions