elefant / app-boris
Boris REPL for the Elefant CMS
dev-master
2015-08-13 17:05 UTC
Requires
This package is auto-updated.
Last update: 2024-08-25 07:34:12 UTC
README
这是一个简单的应用程序,它将 Boris REPL(读取-评估-打印-循环)添加到 Elefant CMS,以便以交互式方式在终端中实验 PHP 代码。
注意:Boris 需要 PHP 的 pcntl 扩展。
1. 通过以下方式安装 Boris 应用程序
composer.phar require elefant/app-boris
2. 通过以下方式调用
php index.php boris
以下 Elefant 对象可用于 REPL 检查
$cache
$controller
$i18n
$page
$tpl