.
The preferred way to install this extension is through composer.
Either run
php composer.phar require yii2cmf/yii2-admin-module "*"
or add
"yii2cmf/yii2-admin-module": "*"
to the require section of your composer.json
file.
You need to add the following code to your application configuration:
'modules' => [
'admin' => [
'class' => 'yii2cmf\modules\admin\Module',
],
]