Download the PHP package gianarb/psysh-module without Composer
On this page you can find all versions of the php package gianarb/psysh-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gianarb/psysh-module
More information about gianarb/psysh-module
Files in gianarb/psysh-module
Package psysh-module
Short Description Zend Framework 2 psysh integration
License MIT
Informations about the package psysh-module
PsyshModule
Integration between psysh and ZF2 The best way to debug your cli command!
Psysh
PsySH is a runtime developer console, interactive debugger and REPL for PHP. Learn more at psysh.org. Check out the Interactive Debugging in PHP talk from OSCON on Presentate.
Installation
Example
Your application return a cli command zf-endpoint user list
, How can I debug it?
In the first step you can set a breakpoint into command action. To build it you can use the psysh
service from your service locator
Run this command
Now you can type in
This command show all variable into the scope