achertovsky / yii2-debug-cli
This package is abandoned and no longer maintained.
No replacement package was suggested.
Opens CLI scripts for /debug access
Package info
github.com/achertovsky/yii2-debug-cli
Type:yii2-extension
pkg:composer/achertovsky/yii2-debug-cli
dev-master
2021-07-07 13:37 UTC
Requires
- php: >=5.4.0
- achertovsky/yii2-json-formatter: @dev
- yiisoft/yii2-debug: 2.1.4
This package is auto-updated.
Last update: 2022-06-07 15:29:11 UTC
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