Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smoren/yii2-module-access-manager
Access manager and control module for Yii2
https://github.com/smoren/yii2-module-access-manager
access-control access-management yii2 yii2-extension
Last synced: 28 days ago
JSON representation
Access manager and control module for Yii2
- Host: GitHub
- URL: https://github.com/smoren/yii2-module-access-manager
- Owner: Smoren
- License: mit
- Created: 2021-12-09T13:17:27.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-17T12:10:31.000Z (6 months ago)
- Last Synced: 2024-10-10T22:03:20.896Z (28 days ago)
- Topics: access-control, access-management, yii2, yii2-extension
- Language: PHP
- Homepage:
- Size: 131 KB
- Stars: 8
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# yii2-module-access-manager
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".