A yii2 basic package comes with pre-installed jquery UI, RBAC (mdmsoft/yii2-admin), User profile (dektrium/yii2-user), upload files plugin (mdmsoft/yii2-upload-file) and few more coming to boostup initial development time.
assets/ contains assets definition
commands/ contains console commands (controllers)
config/ contains application configurations
controllers/ contains Web controller classes
mail/ contains view files for e-mails
models/ contains model classes
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
web/ contains the entry script and Web resources
The minimum requirement by this application template that your Web server supports PHP 5.4.0.
Please check http://makewebsmart.com/blog/yii2-simpleapp-with-yii2-admin-user-adminlte-and-few-more/234 for documentation.
After installation complete, please:
Uncomment the line 'admin/*'
of config/web.php
:
'as access' => [ 'class' => 'mdm\admin\components\AccessControl', 'allowActions' => [ // 'admin/*', // ::: IMPORTANT :::: Make it disable after configuring the USER Roles/Permissions
Then browse to http://[YOUR-APPLICATION-PATH]/admin/
in your browser
Configure Yii2-admin as your need, set Permission/Roles and assign them to User
After configuration complete, comment out the line again in your configuration
// 'admin/*', // ::: IMPORTANT :::: Make it disable after configuring the USER Roles/Permissions
Now you all set!