定制 error500/yii2-debug-cli 二次开发

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

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

error500/yii2-debug-cli

最新稳定版本:0.0.6

Composer 安装命令:

composer require error500/yii2-debug-cli

包简介

README 文档

README

Description

Module to reveal CLI scripts in /debug (if its required)

I hope it will be useful for you.

Installing

The preferred way to install this extension is through composer.

{
	"require": {
	    "error500/yii2-debug-cli": "@dev"
    }
}

or

	composer require error500/yii2-debug-cli "@dev"

Usage

to start using it - please, add it to your modules section

for example:

'debug' => [
    'class' => 'error500\debug\Module',
    'logTarget' => 'error500\debug\LogTarget',
],

in advanced template personally me use it under common/config/main.php

in basic template i would (never did) put it both to config/web.php and config/console.php (waiting for feedbacks)

Usage of errors hub

  1. migrate ./yii migrate/up -p vendor/error500/yii2-debug-cli/migrations
  2. to cover all entrypoints suggestion is to define dispatcher in main config
  • in advanced template personally me use it under common/config/main.php
  • in basic template i would (never did) put it both to config/web.php and config/console.php (waiting for feedbacks)
'components' => [
    'log' => [
        'class' => '\error500\debug\log\Dispatcher',
        //...
    ],
    //...
]
  1. Use it. /debug/error-hub

统计信息

  • 总下载量: 30
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-07

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固