- composer require cakedc/cakephp-debugkit-ai
- Add
DebugKit.AI.apiKeyto yourapp_local.php - Load plugin in
Application::bootstrap()and ensure it is done before loadingDebugKitplugin:
public function bootstrap(): void
{
...
$this->addPlugin(DebugKitAIPlugin::class, ['bootstrap' => true]);
$this->addPlugin('DebugKit', ['bootstrap' => true]);
...
}- HTML help