99designs/repl-bundle
最新稳定版本:2.0.2
Composer 安装命令:
composer require 99designs/repl-bundle
包简介
Add a Boris repl command to the Symfony console
README 文档
README
Important: This bundle is no longer under active development. Consider using PsyshBundle as an alternative.
Provides a repl command for the Symfony console, powered by Boris.
Installation
Add as a development dependency to composer.json:
composer require --dev 99designs/repl-bundle
Register the bundle in app/AppKernel.php:
class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // all your run-time bundles ); if ($this->getEnvironment() == 'dev') { $bundles[] = new NinetyNine\Bundle\ReplBundle(); } return $bundles; } }
Usage
Run via the Symfony console:
app/console repl
The following variables are imported into the global namespace:
$kernel: Application kernel$container: The DI container
Issues
Boris depends on PHP's process control extension. Even if this is installed, you may see errors like this:
PHP Warning: pcntl_fork() has been disabled for security reasons in /my-project/vendor/d11wtq/boris/lib/Boris/Boris.php on line 148
PHP Notice: fwrite(): send of 1 bytes failed with errno=32 Broken pipe in /my-project/vendor/d11wtq/boris/lib/Boris/EvalWorker.php on line 205
If you see these errors, you'll need to edit your PHP CLI configuration
(typically found at /etc/php5/cli/php.ini) to allow invocation of the named
functions.
99designs/repl-bundle 适用场景与选型建议
99designs/repl-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 45.8k 次下载、GitHub Stars 达 0, 最近一次更新时间为 2014 年 10 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 99designs/repl-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 99designs/repl-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 45.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2014-10-18