Laratrust

在你的 Laravel 应用程序中处理角色和权限。「Handle roles and permissions in your Laravel application」

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownersantigarcor/laratrust
Primary LanguagePHP
Program languagePHP (Language Count: 4)
Platform
License:MIT License
所有者活动
Created At2016-05-25 19:21:09
Pushed At2025-09-11 16:10:59
Last Commit At2025-09-11 11:09:48
Release Count93
Last Release Name8.5.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count2.3k
Watchers Count73
Fork Count383
Commits Count781
Has Issues Enabled
Issues Count463
Issue Open Count8
Pull Requests Count160
Pull Requests Open Count3
Pull Requests Close Count69
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private