PHP Classes

CodeIgniter Develbar: CodeIgniter library to show a developer toolbar

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (63)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-10 (2 months ago) RSS 2.0 feedStarStarStarStar 62%Total: 619 All time: 5,083 This week: 136Up
Version License PHP version Categories
ci-developer-toolbar 0.30MIT/X Consortium ...5.3PHP 5, Debug, Libraries, Performance ...
Description 

Author

This package is a CodeIgniter library to show a developer toolbar.

It is a third party library based on the Profiler Library.

This library provides additional functionality for debugging and optimization.

It provides buttons for benchmarks, memory usage, request information, database information, hooks, libraries, helpers, views, configuration, session, and models.

Innovation Award
PHP Programming Innovation award nominee
April 2015
Number 13
CodeIgniter is a very popular framework used by many PHP developers.

This package implements a third party library for CodeIgniter that can provide many types of useful information about a CodeIgniter application.

Manuel Lemos
Picture of Simo
Name: Simo <contact>
Classes: 4 packages by
Country: Morocco Morocco
Age: ???
All time rank: 19143 in Morocco Morocco
Week rank: 312 Up1 in Morocco Morocco Up
Innovation award
Innovation award
Nominee: 2x

Documentation

CodeIgniter Developer Toolbar

CodeIgniter Developer Toolbar is a third party library based on Profiler Library with additional functionality for debugging and optimization.

  • Support CI.2 and CI.3
  • Support HMVC.

Screen-shot

Alt text Alt text

Installation

Copy the files to the application/third_party/DevelBar folder.

Copy the file core/MY_Loader.php to the application/core folder.

Copy the file controllers/develbarprofiler.php to the application/controllers folder.

Change permissions for cache folder chmod 777 application/cache

For HMVC

If you are using HMVC third party library, copy MX_Loader.php instead of MY_Loader.php to your core directory, and change the file name to MY_Loader.php instead of MX_Loader.php.

Usage

Open application/config/autoload.php :

$autoload['packages'] = array(APPPATH . 'third_party/DevelBar');

Open application/config/config.php :

$config['enable_hooks'] = TRUE;

Open application/config/hooks.php and add this line :

$hook['display_override'][] = array(
	'class'  	=> 'Develbar',
    'function' 	=> 'debug',
    'filename' 	=> 'Develbar.php',
    'filepath' 	=> 'third_party/DevelBar/hooks'
);

Enable or disable Develbar, open application/third_party/DevelBar/config/config.php :

$config['enable_develbar'] = TRUE;

Additional parameters

If you want to disable some sections within the developer toolbar,

Open application/third_party/DevelBar/config/config.php, and set the sections value to FALSE :

$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 TRUE, within application/third_party/DevelBar/config/config.php :

$config['check_update'] = TRUE;

Screenshots  
  • Screen-Shot-develbar.png
  Files folder image Files  
File Role Description
Files folder image.github (1 file)
Files folder imageconfig (4 files)
Files folder imagecontrollers (2 files)
Files folder imagecore (3 files)
Files folder imagethird_party (1 file, 1 directory)
Accessible without login Plain text file CHANGELOG.md Data Auxiliary data
Accessible without login Plain text file CODE_OF_CONDUCT.md Data Auxiliary data
Accessible without login Plain text file CONTRIBUTING.md Data Auxiliary data
Accessible without login Plain text file ISSUE_TEMPLATE.md Data Auxiliary data
Accessible without login Plain text file LICENSE Data Auxiliary data
Accessible without login Plain text file README.md Doc. Auxiliary data
Accessible without login Plain text file version.json Data Auxiliary data

  Files folder image Files  /  .github  
File Role Description
  Accessible without login Plain text file lockdown.yml Data Auxiliary data

  Files folder image Files  /  config  
File Role Description
  Accessible without login Plain text file autoload.php Conf. Configuration script
  Accessible without login Plain text file config.php Conf. Configuration script
  Accessible without login Plain text file hooks.php Conf. Configuration script
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  controllers  
File Role Description
  Plain text file develbarprofiler.php Class Class source
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  core  
File Role Description
  Accessible without login HTML file index.html Doc. Documentation
  Plain text file MX_Loader.php Class Class source
  Plain text file MY_Loader.php Class Class source

  Files folder image Files  /  third_party  
File Role Description
Files folder imageDevelBar (6 directories)
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  third_party  /  DevelBar  
File Role Description
Files folder imageassets (3 directories)
Files folder imageconfig (1 file)
Files folder imagehelpers (1 file)
Files folder imagehooks (1 file)
Files folder imagelanguage (1 file, 5 directories)
Files folder imageviews (1 directory)

  Files folder image Files  /  third_party  /  DevelBar  /  assets  
File Role Description
Files folder imagecss (1 file)
Files folder imageimages (13 files)
Files folder imagejs (2 files)

  Files folder image Files  /  third_party  /  DevelBar  /  assets  /  css  
File Role Description
  Accessible without login Plain text file develbar.css Data Auxiliary data

  Files folder image Files  /  third_party  /  DevelBar  /  assets  /  images  
File Role Description
  Accessible without login Image file ajax.png Icon Icon image
  Accessible without login Image file ci.png Icon Icon image
  Accessible without login Image file config.png Icon Icon image
  Accessible without login Image file database.png Icon Icon image
  Accessible without login Image file helper.png Icon Icon image
  Accessible without login Image file hook.png Icon Icon image
  Accessible without login Image file library.png Icon Icon image
  Accessible without login Image file memory.png Icon Icon image
  Accessible without login Image file model.png Icon Icon image
  Accessible without login Image file session.png Icon Icon image
  Accessible without login Image file setting.png Icon Icon image
  Accessible without login Image file timer.png Icon Icon image
  Accessible without login Image file view.png Icon Icon image

  Files folder image Files  /  third_party  /  DevelBar  /  assets  /  js  
File Role Description
  Accessible without login Plain text file ajax.js Data Auxiliary data
  Accessible without login Plain text file develbar.js Data Auxiliary data

  Files folder image Files  /  third_party  /  DevelBar  /  config  
File Role Description
  Plain text file develbar.php Class Class source

  Files folder image Files  /  third_party  /  DevelBar  /  helpers  
File Role Description
  Plain text file utility_helper.php Class Class source

  Files folder image Files  /  third_party  /  DevelBar  /  hooks  
File Role Description
  Accessible without login Plain text file Develbar.php Conf. Configuration script

  Files folder image Files  /  third_party  /  DevelBar  /  language  
File Role Description
Files folder imageenglish (2 files)
Files folder imagefrench (2 files)
Files folder imagegerman (2 files)
Files folder imageitalian (2 files)
Files folder imageturkish (2 files)
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  third_party  /  DevelBar  /  language  /  english  
File Role Description
  Accessible without login Plain text file develbar_lang.php Conf. Configuration script
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  third_party  /  DevelBar  /  language  /  french  
File Role Description
  Accessible without login Plain text file develbar_lang.php Conf. Configuration script
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  third_party  /  DevelBar  /  language  /  german  
File Role Description
  Accessible without login Plain text file develbar_lang.php Conf. Configuration script
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  third_party  /  DevelBar  /  language  /  italian  
File Role Description
  Accessible without login Plain text file develbar_lang.php Conf. Configuration script
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  third_party  /  DevelBar  /  language  /  turkish  
File Role Description
  Accessible without login Plain text file develbar_lang.php Aux. Auxiliary script
  Accessible without login HTML file index.html Doc. Documentation

  Files folder image Files  /  third_party  /  DevelBar  /  views  
File Role Description
Files folder imagedevelbar (15 files)

  Files folder image Files  /  third_party  /  DevelBar  /  views  /  develbar  
File Role Description
  Accessible without login Plain text file ajax.php Aux. Auxiliary script
  Accessible without login Plain text file benchmarks.php Conf. Configuration script
  Accessible without login Plain text file config.php Conf. Configuration script
  Accessible without login Plain text file database.php Conf. Configuration script
  Accessible without login Plain text file develbar.php Conf. Configuration script
  Accessible without login Plain text file helpers.php Conf. Configuration script
  Accessible without login Plain text file hooks.php Conf. Configuration script
  Accessible without login Plain text file libraries.php Conf. Configuration script
  Accessible without login Plain text file memory_usage.php Conf. Configuration script
  Accessible without login Plain text file models.php Conf. Configuration script
  Accessible without login Plain text file not_supported.php Conf. Configuration script
  Accessible without login Plain text file profiler.php Example Example script
  Accessible without login Plain text file request.php Conf. Configuration script
  Accessible without login Plain text file session.php Conf. Configuration script
  Accessible without login Plain text file views.php Conf. Configuration script

 Version Control Unique User Downloads Download Rankings  
 98%
Total:619
This week:0
All time:5,083
This week:136Up
User Ratings User Comments (1)
 All time
Utility:90%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:85%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:62%StarStarStarStar
Rank:901
 
Thanks for for your attempt.
8 years ago (Kabir Hossain)
52%StarStarStar