cakephp/repl
Composer 安装命令:
composer require cakephp/repl
包简介
REPL plugin for CakePHP
README 文档
README
This is a REPL plugin for CakePHP 4. It provides an interactive command prompt that lets you interact with and inspect objects in your application.
It also provides several global functions to make debugging and interactive sessions simpler.
Installation
You can install this plugin into your CakePHP application using Composer.
Run the following command
composer require --dev cakephp/repl
Configuration
Load the plugin by adding the following statement to Application::bootstrapCli()
method in the src/Application.php file of your application:
if (Configure::read('debug')) { $this->addPlugin('Cake/Repl'); }
Make sure to use either "debug mode" check to load it, or wrap it in a try/catch block. Otherwise it will also try to load in production, where the require-dev plugins are not available and shouldn't be.
Documentation
Full documentation of the plugin can be found on the CakePHP Cookbook.
cakephp/repl 适用场景与选型建议
cakephp/repl 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 475.22k 次下载、GitHub Stars 达 6, 最近一次更新时间为 2021 年 03 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cakephp」 「REPL」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cakephp/repl 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cakephp/repl 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cakephp/repl 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
A REPL for the Mako Framework
Interactive debug shell for eZ Publish 5+ apps. Uses PsySH.
Email Toolkit Plugin for CakePHP
A Laravel Artisan SQL Interactive Interface
Rhino, a CMS and Application-Framework plugin for CakePHP
统计信息
- 总下载量: 475.22k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 9
- 依赖项目数: 6
- 推荐数: 12
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-08