PHPackages                             iocod/laravel-permissions - 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. iocod/laravel-permissions

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

iocod/laravel-permissions
=========================

Lightweight permission system for Laravel Applications

v2.0.0(5mo ago)181MITPHPPHP ^8.1

Since Feb 11Pushed 1mo agoCompare

[ Source](https://github.com/iocod-com/laravel-permissions)[ Packagist](https://packagist.org/packages/iocod/laravel-permissions)[ RSS](/packages/iocod-laravel-permissions/feed)WikiDiscussions main Synced 1w ago

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

Laravel Permissions
===================

[](#laravel-permissions)

Lightweight permission system for Laravel Applications.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require iocod/laravel-permissions
```

Setup
-----

[](#setup)

Publish the configuration file:

```
php artisan vendor:publish --tag="permissions-config"
```

Usage
-----

[](#usage)

Add the `HasPermissions` trait to your User model:

```
use Iocod\LaravelPermissions\Traits\HasPermissions;

class User extends Authenticatable
{
    use HasPermissions;
}
```

License
-------

[](#license)

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

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance85

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

3

Last Release

155d ago

Major Versions

v1.0.0 → v2.0.02026-03-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/4613153dfe32bda2d44b1f10cc96ec392ce632e1d2851d098b15aab08311d88f?d=identicon)[RaheesIocod](/maintainers/RaheesIocod)

---

Top Contributors

[![Rashid-Iocode](https://avatars.githubusercontent.com/u/243722459?v=4)](https://github.com/Rashid-Iocode "Rashid-Iocode (11 commits)")

###  Code Quality

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/iocod-laravel-permissions/health.svg)

```
[![Health](https://phpackages.com/badges/iocod-laravel-permissions/health.svg)](https://phpackages.com/packages/iocod-laravel-permissions)
```

###  Alternatives

[illuminate/auth

The Illuminate Auth package.

9328.5M1.4k](/packages/illuminate-auth)[directorytree/ldaprecord-laravel

LDAP Authentication &amp; Management for Laravel.

5732.5M23](/packages/directorytree-ldaprecord-laravel)[masterix21/laravel-licensing

Laravel licensing package with polymorphic assignment to any model, activation keys, expirations/renewals, and seat control via LicenseUsage. Supports offline verification with public-key–signed tokens, a CLI to generate/rotate/revoke keys, and an extensible architecture via config and contracts.

1614.1k4](/packages/masterix21-laravel-licensing)

PHPackages © 2026

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