定制 cakephp/repl 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

cakephp/repl

最新稳定版本:2.0.1

Composer 安装命令:

composer require cakephp/repl

包简介

REPL plugin for CakePHP

README 文档

README

Build Status Software License Total Downloads

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.

统计信息

  • 总下载量: 399.79k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 6
  • 推荐数: 11

GitHub 信息

  • Stars: 6
  • Watchers: 17
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-08