REPL plugin for CakePHP

Installs: 216 088

Dependents: 6

Suggesters: 9

Security: 0

Stars: 6

Watchers: 18

Forks: 2

Open Issues: 1


2.0.1 2023-09-10 04:20 UTC

This package is not auto-updated.

Last update: 2024-05-15 00:11:13 UTC


Build Status Software License Total Downloads

This is a REPL plugin for CakePHP 4. It provides an interactive command prompt that lets you interact with and inspect objects in your application.

It also provides several global functions to make debugging and interactive sessions simpler.


You can install this plugin into your CakePHP application using Composer.

Run the following command

composer require --dev cakephp/repl


Load the plugin by adding the following statement to Application::bootstrapCli() method in the src/Application.php file of your application:

if (Configure::read('debug')) {

Make sure to use either "debug mode" check to load it, or wrap it in a try/catch block. Otherwise it will also try to load in production, where the require-dev plugins are not available and shouldn't be.


Full documentation of the plugin can be found on the CakePHP Cookbook.