Latest Posts

Integrating an interactive REPL in CodeIgniter 4 Apps

I

Sometimes you just need to drop to a command line and explore your application interactively. A REPL will allow you to do just that by providing an interactive cli that knows about your application.

What is a REPL?

A REPL is basically a console for your application. It stands for Read - Eval - Print loop, meaning that it takes the commands you give it, evaluates the code, and outputs the result. This means that most anything that you can do in your application you can explore in the REPL.

What is it good for?

I find theseā€¦