HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandpsyshruntimecliconsoledeveloperinteractivedebugger

Problem

How to use the psysh command: A runtime developer console, interactive debugger, and REPL for PHP. More information: <https://github.com/bobthecow/psysh/wiki/CLI-options>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/psysh

Revisions (0)

No revisions yet.