psysh

A runtime developer console, interactive debugger and REPL for PHP. More information: https://psysh.org.

psysh

psysh --cwd path/to/directory

psysh --config path/to/file