- CakePHP 2.x
- CakePHP DebugKit plugin
See the How to Install Plugins in the CakePHP documentation for general help.
- Put the
PrettyDebug
directory into your plugin directory or install the plugin with Composer from the directory where your composer.json file is located:
php composer.phar require chinpei215/cakephp-pretty-debug
- Load the plugin in your app/Config/bootstrap.php file:
CakePlugin::load('PrettyDebug');
- And enable the component in your controllers or in your app/Controller/AppController.php:
class AppController extends Controller {
public $components = array(
'DebugKit.Toolbar',
'PrettyDebug.PrettyDebug',
);
}