DebugKit Ex is an extension for the CakePHP DebugKit plugin.
It provides some additionals panels such as nosql (redis) queries logging and cache logging.
For older cakephp, download the 1.3.x version
###Install the plugin###
Either with git clone
or by downloading the archive.
cd app/Plugin
git clone git://github.com/kamisama/DebugKitEx.git DebugKitEx
Download the latest release, and uncompress it in app/Plugin
. Make sure the plugin folder is named DebugKitEx.
Add "kamisama/debug-kit-ex": "2.2.*""
to your composer dependencies, then run
composer install
CakePlugin::load(array('DebugKit','DebugKitEx'));
To load the extended panel, edit your debugkit call (in your AppController.php probably)
var $components = array('DebugKit.Toolbar' => array(
'panels' => array('DebugKitEx.Cache', 'DebugKitEx.Nosql', 'DebugKitEx.Resque') // Load only what you want
));
Enabling each panels requires some additionals step, since each panels depends on an external tools/plugin.
####Install the custom cache adapter####
Since redefining core class in a plugin is impossible, you have to drop the app/Plugin/DebugKitEx/Lib/Cache/Cache.php
file in app/Lib/Cache/
(create the folder if necessary).
You application will use this Cache class instead of the one in the core, the main benefit is that you don't need to change anything in your calls to the Cache class.
This class implements additionals method to logs the cache activities, the cache panel will not works without it.
####Install the nosql datasource layer####
The NoSql panel will only works with one of my other plugin, see its page on how to install and use it.
###Resque Panel###
To use with CakeResque
##Changelog##
####Ver 2.2.9 (2013-09-24)####
- Add plugin to packagist
####Ver 2.2.8 (2012-10-17)####
- Gracefully handle errors when panels dependencies are not found
####Ver 2.2.7 (2012-10-16)####
- Fix Repository file structure
####Ver 2.2.6 (2012-10-01)####
- New UI for Resque Panel
####Ver 2.2.5 (2012-10-01)####
- New UI for NoSql panel
- NoSql panel can display more than one Nosql engine
####Ver 2.2.4 (2012-09-30)####
- New UI for Cache panel, require the latest debugkit plugin
####Ver 2.2.3 (2012-09-10)####
- Add queries time and queries count stats for NoSql panel
####Ver 2.2.2 (2012-09-09)####
- Update Resque Job panel to display query time (require CakePHP-NoSQL-Datasource 0.4)
####Ver 2.2.1 (2012-09-08)####
- Add ResqueJob Panel, to display jobs enqueuing with CakeResque
####Ver 2.2.0 (2012-07-01)####
- Update plugin for DebugKit 2.2 and for CakePHP 2.2 (requires at least cakephp 2.2)