achertovsky/yii2-debug-cli
Composer 安装命令:
composer require achertovsky/yii2-debug-cli
包简介
Opens CLI scripts for /debug access
关键字:
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": {
"achertovsky/yii2-debug-cli": "@dev"
}
}
or
composer require achertovsky/yii2-debug-cli "@dev"
Usage
to start using it - please, add it to your modules section
for example:
'debug' => [
'class' => 'achertovsky\debug\Module',
'logTarget' => 'achertovsky\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
- migrate
./yii migrate/up -p vendor/achertovsky/yii2-debug-cli/migrations - 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' => '\achertovsky\debug\log\Dispatcher',
//...
],
//...
]
- Use it. /debug/error-hub
统计信息
- 总下载量: 21.64k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 6
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-01-20