santigarcor / laratrust by santigarcor

This package provides a flexible way to add Role-based Permissions to Laravel
3,403,953
2,147
73
Package Data
Maintainer Username: santigarcor
Package Create Date: 2016-05-25
Package Last Update: 2024-04-08
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-04-15 15:01:02
Package Statistics
Total Downloads: 3,403,953
Monthly Downloads: 68,534
Daily Downloads: 1,498
Total Stars: 2,147
Total Watchers: 73
Total Forks: 372
Total Open Issues: 7

Laratrust (Laravel 5 Package)

Build Status Latest Stable Version Total Downloads StyleCI License Gitter Donate

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.