santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel
6,384,107 2,274
Install
composer require santigarcor/laratrust
Latest Version:8.5.5
PHP:>=8.1
License:MIT
Last Updated:Mar 6, 2026
Links: GitHub  ·  Packagist
Maintainer: santigarcor

Laratrust (Laravel Package)

Sponsor Latest Stable Version Total Downloads License tests

Version Compatibility

Laravel Laratrust
10.x, 11.X, 12.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.

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.

Related Packages

addons/entrust

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

107 0
shanmuga/laravel-entrust

This package provides a flexible solution to add ACL to Laravel

367,015 68
wnikk/laravel-access-rules

Fast access control for Laravel: RBAC with roles, groups and unlimited inheritan...

3,962 10
rivalex/clearance

A complete admin panel (Livewire 4 + Flux UI) for managing permissions, roles, r...

478 0
hasinhayder/tyro

Tyro is a complete Authentication, Authorization, and Role & Privilege (RBAC/ACL...

8,117 685

Version History

Version Released PHP Laravel License
8.5.5 >=8.1 ^10.0|^11.0|^12.0|^13.0 MIT
8.5.4 >=8.1 ^10.0|^11.0|^12.0|^13.0 MIT
8.5.3 >=8.1 ^10.0|^11.0|^12.0 MIT
8.5.2 >=8.1 ^10.0|^11.0|^12.0 MIT
8.5.1 >=8.1 ^10.0|^11.0|^12.0 MIT