PHP code example of cetver / yii2-routes-collector

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

    

cetver / yii2-routes-collector example snippets


'controllerMap' => [
    'routes' => 'cetver\RoutesCollector\commands\RoutesController',
],



return [
    [], // the configuration of the first web-app
    [], // the configuration of the second web-app
];

export DB=sqlite