PHPackages                             aluisio-pires/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. aluisio-pires/permissions

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

aluisio-pires/permissions
=========================

Permission handling for Laravel 8.0 and up

v0.1.19(1y ago)016MITPHPPHP ^8.0

Since Feb 27Pushed 1y ago1 watchersCompare

[ Source](https://github.com/Aluisio-Pires/permissions)[ Packagist](https://packagist.org/packages/aluisio-pires/permissions)[ Docs](https://github.com/aluisio-pires/permissions)[ RSS](/packages/aluisio-pires-permissions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (9)Versions (21)Used By (0)

Filament Permission
===================

[](#filament-permission)

Requirements:

-
-

Features:

- Access control list (ACL) tool / menu
- Roles and Permissions Filament pages

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

[](#installation)

- Make sure you have your Laravel Filament installed:
- Add the package with composer:

```
composer require pdmfc/filament-permission
```

Configuration
-------------

[](#configuration)

- Create Files

```
php artisan filament-permission:create-files

```

- Run migrations

```
php artisan migrate

```

- Now you can add the `hasRoles` trait to your `User` model to enable the authorization

```
...
class User extends Authenticatable
{
    /** @use HasFactory */
    use HasFactory, HasRoles, Notifiable;
...

```

- If your `User` model has the `SoftDeletes` trait, you can remove the commented code from `UsersRelationManager` class to enable the trashed filter.

```
...
->filters([
    Tables\Filters\TrashedFilter::make(),
])

```

Usage
-----

[](#usage)

Add the `admin` role to your user and access your filament admin panel to see the new `Administration` navigation group.

Example:

```
User::factory()->create([
    'name' => 'Test User',
    'email' => 'test@example.com',
])->assignRole('admin');
```

More information
----------------

[](#more-information)

It's recommended to read the Spatie/Laravel-Permission documentation at:

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance44

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

Total

20

Last Release

435d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/841a5eca768df321576fce493c9a8443d530bdd60d15f8bf603d689054e30f86?d=identicon)[Aluisio-Pires](/maintainers/Aluisio-Pires)

---

Top Contributors

[![Aluisio-Pires](https://avatars.githubusercontent.com/u/88967089?v=4)](https://github.com/Aluisio-Pires "Aluisio-Pires (19 commits)")

---

Tags

permissions

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/aluisio-pires-permissions/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[silber/bouncer

Eloquent roles and abilities.

3.6k4.4M25](/packages/silber-bouncer)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[wnikk/laravel-access-rules

Simple system of ACR (access control rules) for Laravel, with roles, groups, unlimited inheritance and possibility of multiplayer use.

103.6k1](/packages/wnikk-laravel-access-rules)[erag/laravel-role-permission

A simple and easy-to-install role and permission management package for Laravel, supporting versions 10.x and 11.x

404.2k](/packages/erag-laravel-role-permission)

PHPackages © 2026

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