{"id":17370107,"url":"https://github.com/gianarb/zf2-psysh-module","last_synced_at":"2025-04-15T04:11:09.387Z","repository":{"id":28409800,"uuid":"31924257","full_name":"gianarb/zf2-psysh-module","owner":"gianarb","description":"Zend Framework 2 and Psysh","archived":false,"fork":false,"pushed_at":"2015-03-10T08:04:07.000Z","size":140,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-28T15:46:20.953Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gianarb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-09T21:41:18.000Z","updated_at":"2018-09-25T08:30:11.000Z","dependencies_parsed_at":"2022-09-03T16:00:59.188Z","dependency_job_id":null,"html_url":"https://github.com/gianarb/zf2-psysh-module","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fzf2-psysh-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fzf2-psysh-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fzf2-psysh-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gianarb%2Fzf2-psysh-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gianarb","download_url":"https://codeload.github.com/gianarb/zf2-psysh-module/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003949,"owners_count":21196793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-16T00:23:34.115Z","updated_at":"2025-04-15T04:11:09.371Z","avatar_url":"https://github.com/gianarb.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PsyshModule\n[![Build Status](https://travis-ci.org/gianarb/zf2-psysh-module.svg?branch=master)](https://travis-ci.org/gianarb/zf2-psysh-module) [![Dependency Status](https://www.versioneye.com/user/projects/54fe1c144a10649b1b000031/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54fe1c144a10649b1b000031) [![Code Climate](https://codeclimate.com/github/gianarb/zf2-psysh-module/badges/gpa.svg)](https://codeclimate.com/github/gianarb/zf2-psysh-module)\n\nIntegration between [psysh](https://github.com/bobthecow/psysh) and [ZF2](https://github.com/zendframework/zf2)\nThe best way to debug your cli command!\n\n## Psysh\n\u003e 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.\n\u003e 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.\n\n## Installation\n```\ncomposer require gianarb/psysh-module\n```\n\n## Example\nYour application return a cli command `zf-endpoint user list`, How can I debug it?\nIn the first step you can set a breakpoint into command action. To build it you can use the `psysh`service from your service locator\n```php\n\u003c?php\neval($this-\u003egetServiceLocator()-\u003eget(\"psysh\")-\u003ebreakpoint());\n```\nRun this command\n```\nvendor/bin/zf2-psysh user list\n```\nNow you can type in\n```\nls\n```\nThis command show all variable into the scope\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianarb%2Fzf2-psysh-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgianarb%2Fzf2-psysh-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgianarb%2Fzf2-psysh-module/lists"}