Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report

psy/psysh v0.12.3

An interactive shell for modern PHP.
Package summary
Share
0
issues
0
licenses
Package created
21 Jun 2013
Version published
2 Apr 2024
Maintainers
1
Total deps
0
Direct deps
0
License
MIT
Generating a report...
Hold on while we generate a fresh audit report for this package.

Frequently Asked Questions

What does psy/psysh do?

PsySH is a modern and detailed runtime application for PHP developers. This interactive console functions as a runtime developer console, as well as an interactive debugger. At its core, PsySH also serves as REPL, or a Read-Eval-Print-Loop, for PHP. The service offers substantial aid in PHP code development through on-the-fly code execution, debugging, and even testing.

How do you use psy/psysh?

To use the PsySH package, you first need to install the package. This can be done via composer, by running composer global require psy/psysh. This command installs the package that provides access to the psysh command. With PsySH installed, you can start a session simply by typing psysh in your console. From there, you can execute any PHP code. Here’s a simple example:

php > echo 'PsySH is cool!';
PsySH is cool!

Between sessions, PsySH saves your command history, so you can always pick up where you left off. PsySH also supports a range of magic variables and shell integrations to make your work easier.

Where are the psy/psysh docs?

PsySH offers comprehensive documentation to aid developers in understanding and using the package effectively. The main PsySH manual, which provides a detailed overview of all PsySH features, can be found on GitHub. The manual covers a wide range of topics, from installation and configuration, to commands and integrations. Also included are usage instructions, tips for troubleshooting, and guides on managing history and shell integration. The manual is a great resource for both new and experienced users.