PHP code example of horat1us / yii2-console-bootstrap

1. Go to this page and download the library: Download horat1us/yii2-console-bootstrap 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/ */

    

horat1us / yii2-console-bootstrap example snippets


composer 



use Horat1us\Yii\Console\Bootstrap;

class YourBootstrap extends Bootstrap
{
    public bool $allowOverride = true; // default false
    public array $controllerMap = [
        'route' => [
            'class' => YourController::class,
        ]
    ];
}