One of the greatest benefits of using CakePHP is its extensibility. Using plugins, you can extend and enhance the core functionality, which provides you with even more cake than you bargained for!
In this recipe, we'll look at loading a plugin using DebugKit, the official development and debugging tool for the framework, as an example.
We'll need to have DebugKit included in the application file structure before we begin. There are a couple of ways to do this.
Git clone or submodule
If you use Git, you can create a clone of the code by executing the following command from your
app/ directory on the command line:
$ git clone https://github.com/cakephp/debug_kit.git Plugin/DebugKit
If you already have your application ...