Yii Framework Debug Toolbar Extension
Pull request Compare This branch is 1 commit ahead, 21 commits behind cr0t:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


#Yii Debug Toolbar Yii Framework Extension

This extension is very useful in the development stage of project. It helps you to get info about PHP environment, application, queries logs, benchmarking with a simple little toolbar at the top of the page.

It is a recreated Symfony's developer toolbar. First idea and very first implementation was my, but this version mostly implemented by Eduard Kuleshov.



  • Yii 1.0 or above


  • Extract the release file under protected/extensions


main.php configuration file update:

// autoloading model and component classes
  'application.extensions.yiidebugtb.*', //our extension
        'levels'=>'error, warning, trace',
      array( // configuration for the toolbar
        'config'=>'alignLeft, opaque, runInDebug, fixedPos, collapsed, yamlStyle',
        'levels'=>'error, warning, trace, profile, info',

###Options reference

  • ‘alignLeft’ => Debug toolbar will be aligned to the top left corner of browser window
  • ‘opaque’ => Makes debug toolbar almost invisible when it’s minimized
  • ‘runInDebug’ => Show debug toolbar only if Yii application running in DEBUG MODE (see index.php for details)
  • ‘fixedPos’ => Makes debug toolbar sticky with browser window, not document!
  • ‘collapsed’ => Show debug toolbar minimized by default
  • ‘yamlStyle’ => Show configuration report in Yaml or PHP-array style.