Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcelorodrigo/developerbar

Developer Bar (inspired on Kohana Debug Toolbar) for Kohana 3+ PHP
https://github.com/marcelorodrigo/developerbar

kohana php toolbar

Last synced: 9 days ago
JSON representation

Developer Bar (inspired on Kohana Debug Toolbar) for Kohana 3+ PHP

Awesome Lists containing this project

README

        

### About

Now updated to work with Kohana 3.3.1

Developer Bar displays useful debug information about your Kohana Application
This module is originally based on "Kohana Debug Toolbar" for Kohana v2.3 (by Aaron Forsander).

### Usage

* Checkout or download project and put into a folder called 'developerbar' under modules
* Enable Module - see
* IMPORTANT: This module is not loaded automatically whey your project are in a production environment - see

~~~
Kohana::modules(array(
...
'developerbar' => MODPATH.'developerbar', // Developer Bar
...
));
~~~

### Force Enable/Disable

DeveloperBar attemps to enable/disabled ourself conform your environment settings.
If you want *force* enable or disable DeveloperBar, simple use in any point:

~~~
// Force enable
Developerbar::factory()->enabled(true);

// Force disable
Developerbar::factory()->enabled(false);
~~~

-------
No more changes on *bootstrap.php* or *index.php* to run a simple toolbar with debug information :)

Feel free to submit improvements or bug fixes.