2017 © Pedro Peláez
 

yii2-extension yii2-debug-cli

Opens CLI scripts for /debug access

image

achertovsky/yii2-debug-cli

Opens CLI scripts for /debug access

  • Friday, July 13, 2018
  • by achertovsky
  • Repository
  • 2 Watchers
  • 1 Stars
  • 194 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 13 % Grown

The README.md

yii2-debug-cli

Description

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

I hope it will be useful for you., (*2)

Installing

The preferred way to install this extension is through composer., (*3)

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

or, (*4)

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

Usage

to start using it - please, add it to your modules section, (*5)

for example:, (*6)

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

in advanced template personally me use it under common/config/main.php, (*7)

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

Usage of errors hub

  1. migrate ./yii migrate/up -p vendor/achertovsky/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), (*9)

'components' => [
    'log' => [
        'class' => '\achertovsky\debug\log\Dispatcher',
        //...
    ],
    //...
]
  1. Use it. /debug/error-hub

The Versions

13/07 2018

dev-master

9999999-dev

Opens CLI scripts for /debug access

  Sources   Download

MIT

The Requires

 

by Alexander Zaets

yii2 extension