tldr/pages/common/psysh.md

322 B

psysh

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

  • 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 --config {{path/to/file}}