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

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

mozakar/entrust
===============

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

8.0.1(5y ago)06MITPHPPHP ^7.2

Since Feb 7Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (6)Versions (36)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 "mozakar/entrust": "^7.0"`

For Laravel 8 run: `composer require "mozakar/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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity70

Established project with proven stability

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

Recently: every ~299 days

Total

31

Last Release

1906d 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 (3 changes)v0.1betaPHP &gt;=5.4.0

1.5.0PHP &gt;=5.5.0

7.0.0PHP ^7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24956283?v=4)[Mozakar](/maintainers/Mozakar)[@Mozakar](https://github.com/Mozakar)

---

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)")[![hakobyansen](https://avatars.githubusercontent.com/u/43189667?v=4)](https://github.com/hakobyansen "hakobyansen (12 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)")[![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)")[![jobrios](https://avatars.githubusercontent.com/u/8075963?v=4)](https://github.com/jobrios "jobrios (5 commits)")[![Jacq](https://avatars.githubusercontent.com/u/494120?v=4)](https://github.com/Jacq "Jacq (5 commits)")[![michaeljhopkins](https://avatars.githubusercontent.com/u/4623657?v=4)](https://github.com/michaeljhopkins "michaeljhopkins (3 commits)")[![thefuzzy0ne](https://avatars.githubusercontent.com/u/3922428?v=4)](https://github.com/thefuzzy0ne "thefuzzy0ne (3 commits)")[![vpratfr](https://avatars.githubusercontent.com/u/2526465?v=4)](https://github.com/vpratfr "vpratfr (3 commits)")[![tonglil](https://avatars.githubusercontent.com/u/3250776?v=4)](https://github.com/tonglil "tonglil (3 commits)")[![miscbits](https://avatars.githubusercontent.com/u/8864479?v=4)](https://github.com/miscbits "miscbits (2 commits)")[![dboskovic](https://avatars.githubusercontent.com/u/687594?v=4)](https://github.com/dboskovic "dboskovic (2 commits)")[![emir](https://avatars.githubusercontent.com/u/1097170?v=4)](https://github.com/emir "emir (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/mozakar-entrust/health.svg)

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

###  Alternatives

[codebot/entrust

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

1596.6k](/packages/codebot-entrust)

PHPackages © 2026

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