marcelorodrigo / developerbar

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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" http://pifantastic.com/kohana-debug-toolbar/ for Kohana v2.3 (by Aaron Forsander).

Usage

    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.

About

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


Languages

Language:PHP 88.0%Language:CSS 12.0%