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

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

mprince2k16/entrust
===================

This package provides a flexible way to add role-based permissions to Laravel and is a fork from Zizaco/entrust

01PHP

Since Nov 5Pushed 3y agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

### This fork is to fix the package to be installable on Laravel v9

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

### Installation

[](#installation)

run: `composer require mitchbred/entrust`

run: laravel 9 `composer require prince/entrust`

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

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity1

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor3

3 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/43857625?v=4)[Mohammad Prince](/maintainers/mprince2k18)[@mprince2k18](https://github.com/mprince2k18)

---

Top Contributors

[![Zizaco](https://avatars.githubusercontent.com/u/777635?v=4)](https://github.com/Zizaco "Zizaco (79 commits)")[![andrewelkins](https://avatars.githubusercontent.com/u/7257497?v=4)](https://github.com/andrewelkins "andrewelkins (79 commits)")[![andrew13](https://avatars.githubusercontent.com/u/764875?v=4)](https://github.com/andrew13 "andrew13 (43 commits)")[![jromero98](https://avatars.githubusercontent.com/u/19397840?v=4)](https://github.com/jromero98 "jromero98 (31 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)")[![MitchBred](https://avatars.githubusercontent.com/u/33968202?v=4)](https://github.com/MitchBred "MitchBred (7 commits)")[![bbatsche](https://avatars.githubusercontent.com/u/500909?v=4)](https://github.com/bbatsche "bbatsche (7 commits)")[![poma](https://avatars.githubusercontent.com/u/2109710?v=4)](https://github.com/poma "poma (6 commits)")[![unitedworx](https://avatars.githubusercontent.com/u/756848?v=4)](https://github.com/unitedworx "unitedworx (6 commits)")[![Jacq](https://avatars.githubusercontent.com/u/494120?v=4)](https://github.com/Jacq "Jacq (5 commits)")[![mprince2k18](https://avatars.githubusercontent.com/u/43857625?v=4)](https://github.com/mprince2k18 "mprince2k18 (5 commits)")[![jobrios](https://avatars.githubusercontent.com/u/8075963?v=4)](https://github.com/jobrios "jobrios (5 commits)")[![tonglil](https://avatars.githubusercontent.com/u/3250776?v=4)](https://github.com/tonglil "tonglil (3 commits)")[![thefuzzy0ne](https://avatars.githubusercontent.com/u/3922428?v=4)](https://github.com/thefuzzy0ne "thefuzzy0ne (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![vpratfr](https://avatars.githubusercontent.com/u/2526465?v=4)](https://github.com/vpratfr "vpratfr (3 commits)")[![michaeljhopkins](https://avatars.githubusercontent.com/u/4623657?v=4)](https://github.com/michaeljhopkins "michaeljhopkins (3 commits)")[![miscbits](https://avatars.githubusercontent.com/u/8864479?v=4)](https://github.com/miscbits "miscbits (2 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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