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,688,543 2,276
Install
composer require santigarcor/laratrust
Latest Version:9.0.0
PHP:^8.3
Laravel:13
Older releases:5 – 12
License:MIT
Last Updated:Nov 10, 2026
Links: GitHub  ·  Packagist
Maintainer: santigarcor

Laratrust (Laravel Package)

Sponsor Latest Stable Version Total Downloads License tests

Version Compatibility

Laravel Laratrust
13.x 9.x
10.x - 13.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

383,499 67
tyondo/mnara

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

41 2
directorytree/authorization

Native Laravel Authorization.

11,338 178
larapacks/authorization

Native Laravel Authorization.

10,781 53

Version History

Version Released PHP Laravel License
9.0.0 ^8.3 ^13.0 MIT
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