为php程序增加调试REPL

Boris

https://github.com/d11wtq/boris

# 需要php的readline posix pcntl扩展需求
composer require d11wtq/boris dev-master

tinker

# 加载你的框架环境
# require ...
require __DIR__ . '/vendor/autoload.php';

$boris = new \Boris\Boris('> ');
$boris->start();

标签: none

添加新评论