PHPackages                             acelords/laratrust - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. acelords/laratrust

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

acelords/laratrust
==================

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

8.3.2.1(1y ago)0415MITPHPPHP &gt;=8.1CI failing

Since May 27Pushed 1y agoCompare

[ Source](https://github.com/acelords/laratrust)[ Packagist](https://packagist.org/packages/acelords/laratrust)[ GitHub Sponsors](https://github.com/santigarcor)[ RSS](/packages/acelords-laratrust/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (3)Dependencies (5)Versions (87)Used By (0)

[![](https://camo.githubusercontent.com/a2673ef3249090bcebc01dd69cb224565614f89b49b268b8415bd08f9ee67af3/68747470733a2f2f63646e2e7261776769742e636f6d2f73616e7469676172636f722f6c61726174727573742f313335616131356665636432326135313263343434333839643166386362393465373264306661372f646f63732f696d672f6c61726174727573742e737667)](https://camo.githubusercontent.com/a2673ef3249090bcebc01dd69cb224565614f89b49b268b8415bd08f9ee67af3/68747470733a2f2f63646e2e7261776769742e636f6d2f73616e7469676172636f722f6c61726174727573742f313335616131356665636432326135313263343434333839643166386362393465373264306661372f646f63732f696d672f6c61726174727573742e737667)

Why This Fork
=============

[](#why-this-fork)

This fork is meant to be used on AceLords projects, and thus contain other functionalities not requred in the official package by Santigarcor.

### Installation

[](#installation)

`composer require acelords/laratrust`

### Changelog

[](#changelog)

#### 6.3.1.1

[](#6311)

- Added config `display_roles_permissions_being_checked` that appends the roles/permissions being checked and display in abort message

> NB: now read on the rest of the docs.

Laratrust (Laravel Package)
===========================

[](#laratrust-laravel-package)

[![Sponsor](https://camo.githubusercontent.com/3f9a3c47d5a6c575b4d6c5f13ecaf55ff585c67a6ba47f87f8cf57e4cb7a1fdc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73706f6e736f722d3330333633443f7374796c653d666f722d7468652d6261646765266c6f676f3d4769744875622d53706f6e736f7273266c6f676f436f6c6f723d237768697465)](//github.com/sponsors/santigarcor)[![Latest Stable Version](https://camo.githubusercontent.com/8d89c75cbd77a0f62df5d8cd61ce21084d78d237d5de3f11bf682004cee72542/68747470733a2f2f706f7365722e707567782e6f72672f73616e7469676172636f722f6c61726174727573742f763f7374796c653d666f722d7468652d6261646765)](//packagist.org/packages/santigarcor/laratrust)[![Total Downloads](https://camo.githubusercontent.com/835e8ffd3f4173a4b4c88f270768e8661d970843d69a9bfad53e696a5ef4810c/68747470733a2f2f706f7365722e707567782e6f72672f73616e7469676172636f722f6c61726174727573742f646f776e6c6f6164733f7374796c653d666f722d7468652d6261646765)](//packagist.org/packages/santigarcor/laratrust)[![License](https://camo.githubusercontent.com/e11a6e64dc40eb28db9c888e5092ea02189cb8987a9d0c60d4c7f58a1bbeb251/68747470733a2f2f706f7365722e707567782e6f72672f73616e7469676172636f722f6c61726174727573742f6c6963656e73653f7374796c653d666f722d7468652d6261646765)](//packagist.org/packages/santigarcor/laratrust)[![tests](https://github.com/santigarcor/laratrust/workflows/tests/badge.svg)](https://github.com/santigarcor/laratrust/actions?query=workflow%3Atests)[![Latest Stable Version](https://camo.githubusercontent.com/c7416b53f72c9ad407801a6c3311e3bba333edd61ab56d0567bbfc91eebf970d/68747470733a2f2f706f7365722e707567782e6f72672f6163656c6f7264732f6c61726174727573742f76)](//packagist.org/packages/acelords/laratrust)[![Total Downloads](https://camo.githubusercontent.com/2d7eba41cf81deb7f5ba93483f1c0d7ec3ec171611ed8b058f5d7b7455a4860d/68747470733a2f2f706f7365722e707567782e6f72672f6163656c6f7264732f6c61726174727573742f646f776e6c6f616473)](//packagist.org/packages/acelords/laratrust)[![License](https://camo.githubusercontent.com/25e3ede1a620241c208ba2e83363f7b0785fff0df164ed301a5ef2439c4f5de7/68747470733a2f2f706f7365722e707567782e6f72672f6163656c6f7264732f6c61726174727573742f6c6963656e7365)](//packagist.org/packages/acelords/laratrust)

Version Compatibility
---------------------

[](#version-compatibility)

LaravelLaratrust10.x, 11.X[8.x](//laratrust.santigarcor.me/docs/8.x/)9.x-10.x[7.x](//laratrust.santigarcor.me/docs/7.x/)8.x[6.x](//laratrust.santigarcor.me/docs/6.x/)7.x[6.x](//laratrust.santigarcor.me/docs/6.x/)6.x[6.x](//laratrust.santigarcor.me/docs/6.x/)5.6.x - 5.8.x[5.2](//laratrust.santigarcor.me/docs/5.2/)5.3.x - 5.5.x[5.1](//laratrust.santigarcor.me/docs/5.1/)5.0.x - 5.2.x[4.0](//github.com/santigarcor/laratrust/tree/4.0).Installation, Configuration and Usage
-------------------------------------

[](#installation-configuration-and-usage)

To install, configure and learn how to use Laratrust please go to the [Documentation](https://laratrust.santigarcor.me/).

What does Laratrust support?
----------------------------

[](#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
-------

[](#license)

Laratrust is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

Contributing
------------

[](#contributing)

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance42

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity87

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 78.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~333 days

Total

83

Last Release

460d ago

Major Versions

4.0.x-dev → 5.2.02019-02-28

5.2.x-dev → 6.0.02020-05-06

5.3.0 → 6.3.1.22022-04-12

6.3.1.2 → 7.1.0.12022-04-20

7.1.0.1 → 8.3.2.12025-02-07

PHP version history (7 changes)1.0.0PHP &gt;=5.5.0

3.2.0PHP &gt;=5.5.9

5.1.0PHP &gt;=5.6.0

5.2.0PHP ^7.1

6.0.0PHP ^7.2

6.3.1.1PHP &gt;=7.2

8.3.2.1PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/9af2de9860484f10b831cb96b650b5d8ac59a6f826589cbade7ee23828d4aa90?d=identicon)[SyntaxLexx](/maintainers/SyntaxLexx)

---

Top Contributors

[![santigarcor](https://avatars.githubusercontent.com/u/7565417?v=4)](https://github.com/santigarcor "santigarcor (566 commits)")[![filippotoso](https://avatars.githubusercontent.com/u/26958813?v=4)](https://github.com/filippotoso "filippotoso (23 commits)")[![KKSzymanowski](https://avatars.githubusercontent.com/u/13980973?v=4)](https://github.com/KKSzymanowski "KKSzymanowski (14 commits)")[![syntaxlexx](https://avatars.githubusercontent.com/u/19994360?v=4)](https://github.com/syntaxlexx "syntaxlexx (12 commits)")[![carusogabriel](https://avatars.githubusercontent.com/u/16328050?v=4)](https://github.com/carusogabriel "carusogabriel (12 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![GeoSot](https://avatars.githubusercontent.com/u/22406063?v=4)](https://github.com/GeoSot "GeoSot (10 commits)")[![gdebrauwer](https://avatars.githubusercontent.com/u/22586858?v=4)](https://github.com/gdebrauwer "gdebrauwer (9 commits)")[![oele-dev](https://avatars.githubusercontent.com/u/1950715?v=4)](https://github.com/oele-dev "oele-dev (6 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (6 commits)")[![stevevg](https://avatars.githubusercontent.com/u/2536019?v=4)](https://github.com/stevevg "stevevg (5 commits)")[![SupianIDz](https://avatars.githubusercontent.com/u/37969970?v=4)](https://github.com/SupianIDz "SupianIDz (5 commits)")[![denisdulici](https://avatars.githubusercontent.com/u/5254835?v=4)](https://github.com/denisdulici "denisdulici (4 commits)")[![Mathius17](https://avatars.githubusercontent.com/u/6528566?v=4)](https://github.com/Mathius17 "Mathius17 (4 commits)")[![sumityadav](https://avatars.githubusercontent.com/u/169143?v=4)](https://github.com/sumityadav "sumityadav (4 commits)")[![ralbear](https://avatars.githubusercontent.com/u/3120856?v=4)](https://github.com/ralbear "ralbear (3 commits)")[![sgarcia-leantech](https://avatars.githubusercontent.com/u/65971173?v=4)](https://github.com/sgarcia-leantech "sgarcia-leantech (3 commits)")[![HazzazBinFaiz](https://avatars.githubusercontent.com/u/29161993?v=4)](https://github.com/HazzazBinFaiz "HazzazBinFaiz (2 commits)")[![zamcsaba](https://avatars.githubusercontent.com/u/15804088?v=4)](https://github.com/zamcsaba "zamcsaba (2 commits)")[![m1kfb](https://avatars.githubusercontent.com/u/3035207?v=4)](https://github.com/m1kfb "m1kfb (2 commits)")

---

Tags

phplaravelauthorizationaclrolespermissionsrbacTeamslaratrustmultiusers

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/acelords-laratrust/health.svg)

```
[![Health](https://phpackages.com/badges/acelords-laratrust/health.svg)](https://phpackages.com/packages/acelords-laratrust)
```

###  Alternatives

[santigarcor/laratrust

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

2.3k5.4M43](/packages/santigarcor-laratrust)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6712.1k2](/packages/hasinhayder-tyro)[shanmuga/laravel-entrust

This package provides a flexible solution to add ACL to Laravel

68312.9k2](/packages/shanmuga-laravel-entrust)[silvanite/novatoolpermissions

Laravel Nova Permissions (Roles and Permission based Access Control (ACL))

100256.7k2](/packages/silvanite-novatoolpermissions)[smarch/watchtower

Front-end for the Shinboi Auth system of Users / Roles / Permissions in Laravel 5

523.0k](/packages/smarch-watchtower)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
