PHP code example of maddoger / yii2-admin
1. Go to this page and download the library: Download maddoger/yii2-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-admin example snippets
php composer.phar
...
'modules' => [
...
'admin' => [
'class' => 'maddoger\admin\AdminModule',
'superUserId' => 1,
],
],
...
],
'defaultRoute' => 'admin/site/index',
'layout' => '@maddoger/admin/views/layouts/main.php',
...