This package provides a flexible way to add Role-based Permissions to Laravel

Fund package maintenance!

Installs: 3 635 719

Dependents: 54

Suggesters: 2

Security: 0

Stars: 2 167

Watchers: 73

Forks: 377

Open Issues: 7


Laratrust (Laravel Package)

Sponsor Latest Stable Version Total Downloads License tests

Version Compatibility

Laravel Laratrust
10.x, 11.X 8.x
9.x-10.x 7.x
8.x 6.x
7.x 6.x
6.x 6.x
5.6.x - 5.8.x 5.2
5.3.x - 5.5.x 5.1
5.0.x - 5.2.x 4.0.

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 assignable to users.
  • Multiple permissions assignable to roles.
  • Roles and permissions verification.
  • Roles and permissions caching.
  • Events when roles and permissions are added, removed or synced.
  • Multiple roles and permissions can be added to users within teams.
  • Multiple guards for the middleware.
  • A simple administration panel for roles and permissions.
  • Laravel gates and policies.


Laratrust is open-sourced software licensed under the MIT license.


Please report any issue you find in the issues page. Pull requests are more than welcome.