DebugKit provides a debugging toolbar and enhanced debugging tools for CakePHP applications. It lets you quickly see configuration data, log messages, SQL queries, and timing data for your application.
:warning: DebugKit is only intended for use in single-user local development environments. You should avoid using DebugKit in shared development environments, staging environments, or any environment where you need to keep configuration data and environment variables hidden. :warning:
For details and older versions see version map.
Install the plugin with Composer from your CakePHP Project's ROOT directory (where the composer.json file is located)
php composer.phar require --dev cakephp/debug_kit:"^5.0"
// src/Application.php
$this->addPlugin('DebugKit');
Set 'debug' => true,
in config/app.php
.
If you don't see a CakePHP icon on the bottom right of your page DebugKit is not be working correctly. Some common problems are:
DebugKit.safeTld
. If your local
domain isn't a known development environment name, DebugKit will disable
itself to protect a potentially non-development environment.DebugKit.ignoreAuthorization
to true
in your config.If you have a problem with DebugKit please open an issue on GitHub.
If you'd like to contribute to DebugKit, check out the roadmap for any planned features. You can fork the project, add features, and send pull requests or open issues.
Documentation for DebugKit can be found in the CakePHP documentation.
Panels by other plugins:
L10n
by Setup plugin to show current localization for Date, DateTime, Time objects/values.