PsySH is an interactive read-eval-print loop and shell environment for PHP. It functions as a runtime debugger and application inspector, allowing for the execution of PHP code in real-time to experiment with snippets and inspect live application state.
The project is distinguished by its ability to be embedded directly into running PHP applications for live troubleshooting. It provides specialized tools for state manipulation, including the ability to bypass visibility restrictions to inspect private or protected object members and the capacity to reload code without restarting the session.
The tool covers broad capability areas including runtime debugging, execution profiling, and source code inspection. It includes integrated language documentation retrieval and supports a configurable console environment with custom command extensions and data casting.
The environment supports project-specific configuration overrides and automatic integration of external libraries and autoloaders during startup.