PHP code example of deesoft / yii2-console

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

    

deesoft / yii2-console example snippets


// params.php or params-local.php

return [
    ...
    'dee.migration.path' => [
        '@yii/rbac/migrations',
        // list your migration path here
    ]
];

    ...
    public function bootstrap($app)
    {
        $app->params['dee.migration.path'][] = '@your/ext/migrations';
    }