##Yee CMS - User Module use in Yee-Core-Rest
####Backend module for managing users, roles, permissions, etc.
This module is part of Yee CMS (based on Yii2 Framework).
Either run
composer require --prefer-dist rudderrave/yii2-yee-user "dev-master"
or add
"rudderrave/yii2-yee-user": "dev-master"
to the require section of your composer.json
file.
Run migrations:
yii migrate --migrationPath=@vendor/rudderrave/yii2-yee-user/migrations/
- In your backend config file
'modules'=>[
'user' => [
'class' => 'yeesoft\user\UserModule',
],
],
You can use dashboard widget to display short information about users.
Add this code in your control panel dashboard to display widget:
echo \yeesoft\user\widgets\dashboard\Users::widget();