Forrest logo
tool overview
On this page you find all important commands for the CLI tool psysh. If the command you are looking for is missing please ask our AI.


Psysh is an interactive shell and REPL (Read-Eval-Print Loop) for PHP. It allows developers to explore and experiment with PHP code in an interactive manner.

  1. Psysh provides a feature-rich, interactive command line environment for PHP developers.
  2. It supports tab-completion, syntax highlighting, and history navigation for enhanced productivity.
  3. Psysh offers a powerful debugger with breakpoints, step-by-step execution, and inspecting variables.
  4. It allows developers to run PHP code directly in the shell, making it a handy tool for testing and prototyping.
  5. Psysh supports autocompletion, which helps developers by suggesting available methods and variables as they type.
  6. It integrates with various PHP frameworks and libraries, such as Laravel and Symfony, providing additional features and shortcuts specific to those frameworks.
  7. Psysh can be extended with custom commands and functions, allowing developers to tailor it to their specific needs.
  8. It supports interactive evaluation of complex PHP expressions, making it useful for debugging and understanding complicated code.
  9. Psysh includes a documentation browser that allows developers to view documentation for PHP functions and classes directly in the shell.
  10. It provides a pleasant and immersive interactive experience for PHP developers, enhancing their productivity and programming workflow.

List of commands for psysh:

tool overview