PHP code example of vjik / yii2-cycle-debug

1. Go to this page and download the library: Download vjik/yii2-cycle-debug library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

vjik / yii2-cycle-debug example snippets


use yii\helpers\ArrayHelper;
…
'container' => [
    'singletons' => ArrayHelper::merge(
         …
        ]
    ),
],

'vjik/yii2-cycle' => [
    'dbal' => [
        'query-logger' => 'DebugOrmLogger',
        …
    ],
    …
],

'modules' => [
    'debug' => [
        'class' => \yii\debug\Module::class,
        'panels' => [
            'orm' => \Vjik\Yii2\Cycle\Debug\OrmPanel::class,
        ],
    ],
    …
],