PHPackages                             znck/trust - 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. znck/trust

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

znck/trust
==========

User roles and permissions for Laravel 5

v0.1.0(10y ago)01.4k2MITPHPPHP &gt;=7.0

Since Aug 27Pushed 9y ago1 watchersCompare

[ Source](https://github.com/znck/trust)[ Packagist](https://packagist.org/packages/znck/trust)[ Docs](https://github.com/znck/trust)[ RSS](/packages/znck-trust/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

 [![](https://camo.githubusercontent.com/98a801254a5ad462517a7b4392c5cce75578e53819a25cf895003d172495c176/687474703a2f2f7a6e636b2e6d652f74727573742f696d672f74727573742d6c6f676f2e706e67)](https://camo.githubusercontent.com/98a801254a5ad462517a7b4392c5cce75578e53819a25cf895003d172495c176/687474703a2f2f7a6e636b2e6d652f74727573742f696d672f74727573742d6c6f676f2e706e67)

Introduction
------------

[](#introduction)

Trust provides an elegant way to add role based permissions to Laravel. With trust you get fluent &amp; expressive API, automatic caching and fine control over your ACL.

Supercharge Laravel's ACL with trust.

> See [docs](http://znck.me/trust/installation) for installing, using and contributing.

 [ ![](https://camo.githubusercontent.com/c56f37a1c3bb61fad9a0b76b03a6f28649121ba8bf35b74a0d521f8cff4313ea/68747470733a2f2f7374796c6563692e696f2f7265706f732f33323831393433362f736869656c64) ](https://styleci.io/repos/32819436) [ ![](https://camo.githubusercontent.com/c282aade52abfa1207a0a65a0b862f2ac4798db88e9086794b6a91f381f506d5/68747470733a2f2f636972636c6563692e636f6d2f67682f7a6e636b2f74727573742e7376673f7374796c653d737667) ](https://circleci.com/gh/znck/trust) [ ![](https://camo.githubusercontent.com/e555100403817f74d53a4c56a5fba97323a1e56bc81f5143af6f0cd026740412/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7a6e636b2f74727573742f62616467652e7376673f6272616e63683d6d6173746572267374796c653d666c61742d737175617265) ](https://coveralls.io/github/znck/trust?branch=master) [ ![](https://camo.githubusercontent.com/b610ffbaa7b9d8c6e5d93b4511c9024192ad072d762da6a242deb234c209c243/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f67726164652f3932363436333936373566303461656439333430333233373264343333633761) ](https://www.codacy.com/app/znck/trust) [ ![](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265) ](LICENSE) [ ![](https://camo.githubusercontent.com/b208efbe63bd7b0f125344469b9c01227e05e57a3d3c8b1efbbdeb80181ffa14/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6e636b2f74727573742e7376673f7374796c653d666c61742d737175617265) ](https://packagist.org/packages/znck/trust) [ ![](https://camo.githubusercontent.com/5da110211f571e83b0805a1693b095a965e2e26c43c2521b584f53c40c402d61/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f7a6e636b2f74727573742e7376673f7374796c653d666c61742d737175617265) ](https://github.com/znck/trust/releases) [ ![](https://camo.githubusercontent.com/549fece5caef670ec8c59b4e406ce4d651cdf8ba54d1ab17acaf838829d6c751/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7a6e636b2f74727573742e7376673f7374796c653d666c61742d737175617265) ](https://github.com/znck/trust/issues)

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Rahul Kadyan](https://github.com/znck)
- [All Contributors](https://github.com/znck/trust/graphs/contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~228 days

Total

2

Last Release

3689d ago

PHP version history (2 changes)v0.0.1PHP &gt;=5.4.7

v0.1.0PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/79c0b664c035ee2af1f8988190a505d9fd559649b56711d31670f6717e3ec441?d=identicon)[znck](/maintainers/znck)

---

Top Contributors

[![znck](https://avatars.githubusercontent.com/u/2596484?v=4)](https://github.com/znck "znck (55 commits)")

---

Tags

acllaravelpermission-managerpermissionsphprolestrust

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/znck-trust/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[scaler-tech/laravel-saml2

SAML2 Service Provider integration for Laravel applications, based on OneLogin toolkit

2737.5k](/packages/scaler-tech-laravel-saml2)[alajusticia/laravel-logins

Session management in Laravel apps, user notifications on new access, support for multiple separate remember tokens, IP geolocation, User-Agent parser

2011.0k](/packages/alajusticia-laravel-logins)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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