PHP code example of maddoger / yii2-cms-admin

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

    

maddoger / yii2-cms-admin example snippets


php composer.phar 

...
'modules' => [
    ...
    'admin' => [
            'class' => 'maddoger\admin\Module',
        ],
    ],
    ...
],

'defaultRoute' => 'admin/site/index',
'layout' => '@maddoger/admin/views/layouts/main.php',
...