Files
cheatsheet-tldr/tldr/psysh
2025-11-26 00:20:44 +00:00

22 lines
458 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`