PHPackages                             gianarb/psysh-module - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. gianarb/psysh-module

ActiveLibrary

gianarb/psysh-module
====================

Zend Framework 2 psysh integration

0.0.1(11y ago)43.7kMITPHP

Since Mar 9Pushed 11y agoCompare

[ Source](https://github.com/gianarb/zf2-psysh-module)[ Packagist](https://packagist.org/packages/gianarb/psysh-module)[ RSS](/packages/gianarb-psysh-module/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (3)Versions (2)Used By (0)

PsyshModule
===========

[](#psyshmodule)

[![Build Status](https://camo.githubusercontent.com/e19cfb24520ffb6b11864d251323ea3d65db0924fc5a4086fb34a397bc30ae62/68747470733a2f2f7472617669732d63692e6f72672f6769616e6172622f7a66322d70737973682d6d6f64756c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/gianarb/zf2-psysh-module) [![Dependency Status](https://camo.githubusercontent.com/55aecea57121661e53be240f582fd3b570b4e6a3ddaea887f6599d08ebc6c568/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3534666531633134346131303634396231623030303033312f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/54fe1c144a10649b1b000031) [![Code Climate](https://camo.githubusercontent.com/9bbd6f8ce2e4844ecb0e90a12654906f9fe2cc71cbd56a0d1361c7f51b0fec26/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6769616e6172622f7a66322d70737973682d6d6f64756c652f6261646765732f6770612e737667)](https://codeclimate.com/github/gianarb/zf2-psysh-module)

Integration between [psysh](https://github.com/bobthecow/psysh) and [ZF2](https://github.com/zendframework/zf2)The best way to debug your cli command!

Psysh
-----

[](#psysh)

> PsySH is a runtime developer console, interactive debugger and [REPL](http://en.wikipedia.org/wiki/Read%E2%80%93eval%E2%80%93print_loop) for PHP. Learn more at [psysh.org](http://psysh.org/). Check out the [Interactive Debugging in PHP talk from OSCON](https://presentate.com/bobthecow/talks/php-for-pirates) on Presentate.

Installation
------------

[](#installation)

```
composer require gianarb/psysh-module

```

Example
-------

[](#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

```
