32
GitHub - santigarcor/laratrust: Handle roles and permissions in your Laravel app...
source link: https://github.com/santigarcor/laratrust
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Laratrust (Laravel 5 Package)
Laratrust is an easy and flexible way to add roles, permissions and teams authorization to Laravel 5 (>=5.6).
For Laravel 5.2.32 - 5.6 please use the 5.1 branch.
For Laravel < 5.2.32 please use the 4.0 branch.
Installation, Configuration and Usage
To install, configure and learn how to use Laratrust please go to the Documentation.
What does Laratrust support?
- Multiple user models.
- Multiple roles and permissions can be attached to users.
- Multiple permissions can be attached to roles.
- Roles and permissions verification.
- Roles and permissions caching.
- Events when roles and permissions are attached, detached or synced.
- Multiple roles and permissions can be attached to users within teams.
- Objects ownership verification.
- Multiple guards for the middleware.
- Laravel gates and policies.
License
Laratrust is open-sourced software licensed under the MIT license.
Contributing
Please report any issue you find in the issues page. Pull requests are more than welcome.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK