Edit your composer.json file, in require section add
"hexaua/yii2-support": "dev-master"
// Example
"require": {
"hexaua/yii2-support": "dev-master"
}
To apply module migrations from project root run the following command
php yii migrate --migrationPath=hexaua\yiisupport\migrations
Your project must support rbac and have at least two roles. One for administrator and one for user.
php yii support/permissions
Configuring module
'modules' => [
'support' => [
'class' => 'hexaua\yiisupport\Module',
'userRole' => 'partner', // Default to user
'adminRole => 'admin' // Default to admin
]
]