smoren / yii2-module-access-manager
Access manager and control module for Yii2
Installs: 299
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 5
Forks: 4
Open Issues: 0
Type:yii2-extension
Requires
- php: >=7.2.0
- ext-json: *
- smoren/extended-exceptions: ^1.0.0
- smoren/mushroom-hook-manager: ^1.0.0
- smoren/yii2-active-record-explicit: ^1.0.4|^2.0.0
- smoren/yii2-auth-components: ^0.1.5
- smoren/yii2-helpers: ^0.1.0
- thamtech/yii2-uuid: ^1.2
- yiisoft/yii2: ~2.0.0
Requires (Dev)
This package is auto-updated.
Last update: 2024-12-17 13:28:27 UTC
README
Access manager and control module for Yii2
How to install to Yii2 project
composer require smoren/yii2-module-access-manager
After install
Include into Yii2 config:
...
'modules' => [
...
'access' => ['class' => 'Smoren\Yii2\AccessManager\Module'],
],
...
'bootstrap' => [
...
'access',
],
...
'controllerMap' => [
'migrate' => [
'class' => MigrateController::class,
'migrationPath' => [
...
'vendor/smoren/yii2-module-access-manager/src/migrations',
],
],
],
...
Then run migrations:
php yii migrate
Also you can choose another module id if you already have your own module named "access".