Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JCSama/CodeIgniter-develbar
CodeIgniter Developer Toolbar is a third party library based on Profiler Library with additional functionality for debugging and optimisation, Database, Models, Helpers, Libraries, Views, Ajax...
https://github.com/JCSama/CodeIgniter-develbar
codeigniter developer-toolbar hmvc party-library profiler-library
Last synced: 3 days ago
JSON representation
CodeIgniter Developer Toolbar is a third party library based on Profiler Library with additional functionality for debugging and optimisation, Database, Models, Helpers, Libraries, Views, Ajax...
- Host: GitHub
- URL: https://github.com/JCSama/CodeIgniter-develbar
- Owner: JCSama
- License: mit
- Archived: true
- Created: 2015-04-06T13:20:25.000Z (over 9 years ago)
- Default Branch: develop
- Last Pushed: 2021-01-17T17:44:55.000Z (almost 4 years ago)
- Last Synced: 2024-02-15T12:34:45.664Z (9 months ago)
- Topics: codeigniter, developer-toolbar, hmvc, party-library, profiler-library
- Language: PHP
- Homepage:
- Size: 267 KB
- Stars: 176
- Watchers: 20
- Forks: 58
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-codeigniter - Developer Toolbar - Developer Toolbar is a third party library based on Profiler. (Third Party)
README
# 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](https://raw.githubusercontent.com/JCSama/CodeIgniter-develbar/gh-pages/images/Screen-Shot-develbar.png "Developer Toolbar")
![Alt text](https://raw.githubusercontent.com/JCSama/CodeIgniter-develbar/gh-pages/images/Screen-Shot-develbar-profiler.png "Developer Toolbar Profiler")# 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` :
```php
$autoload['packages'] = array(APPPATH . 'third_party/DevelBar');
```Open `application/config/config.php` :
```php
$config['enable_hooks'] = TRUE;
```Open `application/config/hooks.php` and add this line :
```php
$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` :
```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` :
```php
$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` :```php
$config['check_update'] = TRUE;
```