New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

santigarcor/laratrust

This package provides a flexible way to add Role-based Permissions to Laravel
6,496,327 2,274
Install
composer require santigarcor/laratrust
Latest Version:8.5.6
PHP:>=8.1
Laravel:10 – 13
Older releases:5 – 9
License:MIT
Last Updated:Oct 22, 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

374,591 67
tyondo/mnara

User management package with ACL for managing Users / Roles / Permissions in Lar...

41 2
directorytree/authorization

Native Laravel Authorization.

11,208 179
larapacks/authorization

Native Laravel Authorization.

10,774 53

Version History

Version Released PHP Laravel License
8.5.6 >=8.1 ^10.0|^11.0|^12.0|^13.0 MIT
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