gianarb/psysh-module 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gianarb/psysh-module

最新稳定版本:0.0.1

Composer 安装命令:

composer require gianarb/psysh-module

包简介

Zend Framework 2 psysh integration

README 文档

README

Build Status Dependency Status Code Climate

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

composer require gianarb/psysh-module

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 psyshservice from your service locator

<?php
eval($this->getServiceLocator()->get("psysh")->breakpoint());

Run this command

vendor/bin/zf2-psysh user list

Now you can type in

ls

This command show all variable into the scope

统计信息

  • 总下载量: 3.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-09