CodeIgniter Developer Toolbar
CodeIgniter Developer Toolbar is a third party library based on Profiler Library with additional functionality for debugging and optimization.
- Support Multilanguage.
- Support HMVC.
CodeIgniter Versoin >= 2.2.0
Copy the files to the
Copy the file
core/MY_Loader.php to the
Copy the file
controllers/develbarprofiler.php to the
Change application/cache folder permission to 777
Notice : You may need to add tag in your html page for AJAX Panel.
If you are using HMVC third party library, copy
MX_Loader.php instead of
MY_Loader.php to your
and change the file name to
MY_Loader.php instead of
$autoload['packages'] = array(APPPATH . 'third_party/DevelBar');
$config['enable_hooks'] = TRUE;
application/config/hooks.php and add this line :
$hook['display_override'] = array( 'class' => 'Develbar', 'function' => 'debug', 'filename' => 'Develbar.php', 'filepath' => 'third_party/DevelBar/hooks' );
$config['enable_develbar'] = TRUE;
If you want to disable some sections within the developer toolbar,
application/third_party/DevelBar/config/config.php, and set the sections value to
$config['develbar_sections'] = array( 'Benchmarks' => TRUE, 'Memory Usage' => TRUE, 'Request' => TRUE, 'Database' => TRUE, 'Hooks' => FALSE, // Disable Hooks Section 'Libraries' => TRUE, 'Helpers' => FALSE, // Disable Helpers Section, 'Views' => TRUE, 'Config' => TRUE, 'Session' => TRUE, 'Models' => TRUE, 'Ajax' > TRUE, );
To auto check for available new version of CodeIgniter and DeveloperToolbar, you should set
check_update option to
$config['check_update'] = TRUE;
NOTE : if this option is set to TRUE, it will slow down the page loading a little bit.