PHPackages                             tiagolemosneitzke/filamentacl - 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. tiagolemosneitzke/filamentacl

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

tiagolemosneitzke/filamentacl
=============================

A flexible and lightweight Access Control List (ACL) plugin for managing user permissions and roles in Laravel applications

v1.1.0(1y ago)08[4 PRs](https://github.com/TiagoLemosNeitzke/filament-acl/pulls)MITPHPPHP ^8.2CI passing

Since Jan 6Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/TiagoLemosNeitzke/filament-acl)[ Packagist](https://packagist.org/packages/tiagolemosneitzke/filamentacl)[ Docs](https://github.com/tiagolemosneitzke-filament-acl/filamentacl)[ GitHub Sponsors](https://github.com/filament-acl)[ RSS](/packages/tiagolemosneitzke-filamentacl/feed)WikiDiscussions main Synced 1mo ago

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

Filament ACL - Access Control List for Laravel
==============================================

[](#filament-acl---access-control-list-for-laravel)

A flexible and lightweight Access Control List (ACL) plugin for managing user permissions and roles in Laravel applications using Filament.

Attention
---------

[](#attention)

This package doesn't work with Tenancy.

---

[![Latest Version on Packagist](https://camo.githubusercontent.com/63c1cd0951198e0a22c3b0c46b4d88fbcae51743deb5e1a243adb94d105ddc01/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746961676f6c656d6f736e6569747a6b652f66696c616d656e7461636c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tiagolemosneitzke/filamentacl)[![Total Downloads](https://camo.githubusercontent.com/40a86dd316e2968a94e050eb84f0baf769caf048e2edb913ee14b7b80c844bc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f546961676f4c656d6f734e6569747a6b652f66696c616d656e7461636c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tiagolemosneitzke/filamentacl)[![Packagist License](https://camo.githubusercontent.com/97c1adb1fab2878ecd05ffd13218e1fda4a02d69d162dac6b29894a27020ae1c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746961676f6c656d6f736e6569747a6b652f66696c616d656e7461636c3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tiagolemosneitzke/filamentacl)

You can install the package via composer:

```
composer require tiagolemosneitzke/filamentacl -W
```

This will install the Filament ACL package along with its dependencies, including `spatie/laravel-permission`.

After the installation, publish the migration and configuration files:

```
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
```

Run the migrations to create the necessary tables:

```
php artisan migrate
```

Add the `HasRoles` trait to your User model:

```
use Spatie\Permission\Traits\HasRoles;

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

Register the plugin in your Panel provider:

```
use TiagoLemosNeitzke\FilamentAcl\FilamentAclPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
             FilamentAclPlugin::make()
        ]);
}
```

You can then install the Filament ACL package with the following command:

```
php artisan filament-acl:install
```

This will publish the config file.

Alternatively, you can publish only the config file with:

```
php artisan vendor:publish --tag="filament-acl-config"
```

This is the contents of the published config file:

```
return [
    'permission' => [
        'prefixes' => [
            'view',
            'view_any',
            'create',
            'update',
            'restore',
            'delete',
            'force_delete'
        ]
    ],

    'roles_prefixes' => [
        'admin',
    ]
];
```

Also, you can publish manually all the files with:

```
php artisan vendor:publish --provider="TiagoLemosNeitzke\FilamentAcl\FilamentAclServiceProvider"
```

Or you can publish the necessary files one by one

```
php artisan vendor:publish --tag=filament-acl-config
php artisan vendor:publish --tag=filament-acl-stubs
```

You don't need to publish all the files for the package work, but you need to publish the settings file and configuring correctly the Laravel Permissions Package.

In your `UserResource` file, you should add the below code to edit and view the permission of the user:

```
use TiagoLemosNeitzke\FilamentAcl\Models\Role;

public static function form(Form $form): Form
    {
        return $form
            ->schema([
                Forms\Components\Select::make('roles')
                    ->label('Role')
                    ->relationship('roles', 'name')
                    ->options(Role::all()->pluck('name', 'id'))
                    ->multiple()
                    ->preload()
                    ->searchable(),
            ]);
    }

    public static function table(Table $table): Table
    {
        return $table
            ->columns([
                Tables\Columns\TextColumn::make('roles.name')
                    ->label('Is Admin?')
                    ->badge(),
             ]);
    }
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tiago Lemos Neitzke](https://github.com/TiagoLemosNeitzke)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance62

Regular maintenance activity

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.2% 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

5

Last Release

490d ago

Major Versions

v0.0.4-alpha → v1.0.02025-01-06

### Community

Maintainers

![](https://www.gravatar.com/avatar/8019376b6bf08f9f4501fb871767d651c9239cea2c7ec69265ba8a9c7db71640?d=identicon)[Tiago Lemos Neitzke](/maintainers/Tiago%20Lemos%20Neitzke)

---

Top Contributors

[![TiagoLemosNeitzke](https://avatars.githubusercontent.com/u/75308967?v=4)](https://github.com/TiagoLemosNeitzke "TiagoLemosNeitzke (55 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravelaclrolespermissionsfilamentfilamentaclTiagoLemosNeitzke

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tiagolemosneitzke-filamentacl/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[spatie/laravel-permission

Permission handling for Laravel 12 and up

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

A Powerful package for handling roles and permissions in Laravel. Supports Laravel 5.3 up to 12.

1.0k826.8k7](/packages/jeremykenedy-laravel-roles)[chiiya/filament-access-control

Admin user, role and permission management for Laravel Filament

21847.2k](/packages/chiiya-filament-access-control)[hasinhayder/tyro

Tyro - The ultimate Authentication, Authorization, and Role &amp; Privilege Management solution for Laravel 12 &amp; 13

6712.1k2](/packages/hasinhayder-tyro)[beatswitch/lock-laravel

A Laravel Driver for Lock.

15529.1k1](/packages/beatswitch-lock-laravel)

PHPackages © 2026

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