rexpl / laravel-acl
Extensive acl for laravel, including groups and permissions.
Installs: 56
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: ^8.1
- illuminate/contracts: ^10.0|^11.0
- illuminate/database: ^10.0|^11.0
- illuminate/support: ^10.0|^11.0
- staudenmeir/laravel-cte: ^1.9
Requires (Dev)
- larastan/larastan: ^2.9
- orchestra/testbench: ^8.0|^9.0
README
Extensive acl for laravel, including groups and permissions. This package aims to integrate as easily as possible in the laravel ecosystem.
Main concept
This packages allows for a great ranges of different options:
- Users can be assigned groups
- Groups can be assigned permissions
- Groups can be assigned parent groups (and the other way arround)
- Groups inherit permissions from the parent groups, parent groups inherit access
Exemple:
Click here to read a detailed explanantion of the exemple above
Installation
Require package:
composer require rexpl/laravel-acl
Run migrations:
php artisan migrate
Publish configuration (Optional):
php artisan vendor:publish --provider="Rexpl\LaravelAcl\ServiceProvider\AclServiceProvider" --tag="config"
To Do List
- Find a way to optionnaly integrate permissions and groups in version control
- Document all features + add exemples
- Add global/local access controlled queries
-
Add unit testing