365 B

psysh

A runtime developer console, interactive debugger and REPL for PHP. More information: https://github.com/bobthecow/psysh/wiki/CLI-options.

  • Open a shell in the current directory:

psysh

  • Open a shell in a specific directory:

psysh --cwd {{path/to/directory}}

  • Use a specific configuration file:

psysh {{[-c|--config]}} {{path/to/file}}