cakephp/repl

REPL plugin for CakePHP

Maintainers

👁 cakephp

Package info

github.com/cakephp/repl

Forum

Type:cakephp-plugin

pkg:composer/cakephp/repl

Statistics

Installs: 473 109

Dependents: 6

Suggesters: 12

Stars: 6

Open Issues: 1

2.0.1 2023-09-10 04:20 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT bd0797743b703d885ec9b71dfa69f64ac81ed53e

cakephpREPL

This package is not auto-updated.

Last update: 2026-06-10 09:39:34 UTC


README

👁 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.

Installation

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

Run the following command

composer require --dev cakephp/repl

Configuration

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')) {
 $this->addPlugin('Cake/Repl');
}

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.

Documentation

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