2017 © Pedro Peláez
 

cakephp-plugin debug-kit-ex

An extension for CakePHP DebugKit plugin

image

kamisama/debug-kit-ex

An extension for CakePHP DebugKit plugin

  • Wednesday, February 26, 2014
  • by kamisama
  • Repository
  • 5 Watchers
  • 19 Stars
  • 6,488 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 2 Versions
  • 11 % Grown

The README.md

DebugKit Ex

DebugKit Ex is an extension for the CakePHP DebugKit plugin.
It provides some additionals panels such as nosql (redis) queries logging and cache logging., (*1)

Requirements

For older cakephp, download the 1.3.x version, (*2)

Install

Install the plugin

Download the plugin

Either with git clone or by downloading the archive., (*3)

With Git clone
cd app/Plugin
git clone git://github.com/kamisama/DebugKitEx.git DebugKitEx
Download the archive

Download the latest release, and uncompress it in app/Plugin. Make sure the plugin folder is named DebugKitEx., (*4)

With composer

Add "kamisama/debug-kit-ex": "2.2.*"" to your composer dependencies, then run, (*5)

composer install

Load the plugin into CakePHP

CakePlugin::load(array('DebugKit','DebugKitEx'));

Load the panels

To load the extended panel, edit your debugkit call (in your AppController.php probably), (*6)

    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., (*7)

Available panels

Cache Panel

Cache Panel, (*8)

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., (*9)

NoSql Panel

NoSql Panel, (*10)

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., (*11)

Resque Panel

Cache Panel, (*12)

To use with CakeResque, (*13)

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)

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)

The Versions

26/02 2014

dev-master

9999999-dev https://github.com/kamisama/DebugKitEx

An extension for CakePHP DebugKit plugin

  Sources   Download

MIT

The Requires

 

cakephp debugkit

24/09 2013

dev-new-skin

dev-new-skin https://github.com/kamisama/DebugKitEx

An extension for CakePHP DebugKit plugin

  Sources   Download

MIT

The Requires

 

cakephp debugkit