PHPackages                             codebot/entrust - 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. codebot/entrust

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

codebot/entrust
===============

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

8.0.2(5y ago)1596.6k↓97.8%34MITPHPPHP ^7.2|^8.0

Since Feb 7Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (6)Versions (37)Used By (0)

### This fork is to fix the package to be installable on Laravel v7 and Laravel v8

[](#this-fork-is-to-fix-the-package-to-be-installable-on-laravel-v7-and-laravel-v8)

### Installation

[](#installation)

For Laravel 7 run: `composer require "codebot/entrust": "^7.0"`

For Laravel 8 run: `composer require "codebot/entrust": "^8.0"`

Click [here](https://github.com/Zizaco/entrust/blob/master/README.md) for the full documentation.

**I've updated dependencies only, because I had to upgrade existing Laravel project. Do not use this package for new projects, it's abandoned at this moment. [spatie/laravel-permission](https://github.com/spatie/laravel-permission) should be a good choice.**

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~96 days

Recently: every ~68 days

Total

32

Last Release

1842d ago

Major Versions

v0.4.0beta → 1.0.02013-12-23

1.8.0 → 5.2.x-dev2016-12-29

1.9.1 → 7.0.02020-07-25

7.0.1 → 8.0.02020-09-09

PHP version history (4 changes)v0.1betaPHP &gt;=5.4.0

1.5.0PHP &gt;=5.5.0

7.0.0PHP ^7.2

8.0.1PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/46efdc41146809a879b858eb0fa5bbf94c34f931866a1237e7467eeaa5f752e1?d=identicon)[sen.hakobyan](/maintainers/sen.hakobyan)

---

Top Contributors

[![andrewelkins](https://avatars.githubusercontent.com/u/7257497?v=4)](https://github.com/andrewelkins "andrewelkins (79 commits)")[![Zizaco](https://avatars.githubusercontent.com/u/777635?v=4)](https://github.com/Zizaco "Zizaco (79 commits)")[![andrew13](https://avatars.githubusercontent.com/u/764875?v=4)](https://github.com/andrew13 "andrew13 (43 commits)")[![hakobyansen](https://avatars.githubusercontent.com/u/43189667?v=4)](https://github.com/hakobyansen "hakobyansen (17 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (11 commits)")[![micheleangioni](https://avatars.githubusercontent.com/u/7933034?v=4)](https://github.com/micheleangioni "micheleangioni (8 commits)")[![laravelcms-zz](https://avatars.githubusercontent.com/u/5847267?v=4)](https://github.com/laravelcms-zz "laravelcms-zz (8 commits)")[![bbatsche](https://avatars.githubusercontent.com/u/500909?v=4)](https://github.com/bbatsche "bbatsche (7 commits)")[![unitedworx](https://avatars.githubusercontent.com/u/756848?v=4)](https://github.com/unitedworx "unitedworx (6 commits)")[![poma](https://avatars.githubusercontent.com/u/2109710?v=4)](https://github.com/poma "poma (6 commits)")[![Jacq](https://avatars.githubusercontent.com/u/494120?v=4)](https://github.com/Jacq "Jacq (5 commits)")[![jobrios](https://avatars.githubusercontent.com/u/8075963?v=4)](https://github.com/jobrios "jobrios (5 commits)")[![allayGerald](https://avatars.githubusercontent.com/u/39927640?v=4)](https://github.com/allayGerald "allayGerald (4 commits)")[![michaeljhopkins](https://avatars.githubusercontent.com/u/4623657?v=4)](https://github.com/michaeljhopkins "michaeljhopkins (3 commits)")[![vpratfr](https://avatars.githubusercontent.com/u/2526465?v=4)](https://github.com/vpratfr "vpratfr (3 commits)")[![thefuzzy0ne](https://avatars.githubusercontent.com/u/3922428?v=4)](https://github.com/thefuzzy0ne "thefuzzy0ne (3 commits)")[![tonglil](https://avatars.githubusercontent.com/u/3250776?v=4)](https://github.com/tonglil "tonglil (3 commits)")[![yamenarahman](https://avatars.githubusercontent.com/u/24607365?v=4)](https://github.com/yamenarahman "yamenarahman (2 commits)")[![Yelldon](https://avatars.githubusercontent.com/u/11280155?v=4)](https://github.com/Yelldon "Yelldon (2 commits)")[![gayanhewa](https://avatars.githubusercontent.com/u/1681406?v=4)](https://github.com/gayanhewa "gayanhewa (2 commits)")

---

Tags

laravelauthaclpermissionrolesilluminate

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codebot-entrust/health.svg)

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

PHPackages © 2026

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