PHPackages                             slne-development/filament-authorization - 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. slne-development/filament-authorization

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

slne-development/filament-authorization
=======================================

Filament Authorization using policies and spatie-permissions

1.0.36(3mo ago)053[1 PRs](https://github.com/SLNE-Development/filament-authorization/pulls)MITPHPPHP ^8.2CI passing

Since Feb 5Pushed 1mo agoCompare

[ Source](https://github.com/SLNE-Development/filament-authorization)[ Packagist](https://packagist.org/packages/slne-development/filament-authorization)[ Docs](https://github.com/slne-development/filament-authorization)[ GitHub Sponsors](https://github.com/SLNE-Development)[ RSS](/packages/slne-development-filament-authorization/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (39)Used By (0)

Filament Authorization using policies and spatie-permissions
============================================================

[](#filament-authorization-using-policies-and-spatie-permissions)

[![Latest Version on Packagist](https://camo.githubusercontent.com/91960a25caab68e32b5116714784d7422e305289a53e9d5f23679cc48b436dd7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736c6e652d646576656c6f706d656e742f66696c616d656e742d617574686f72697a6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/slne-development/filament-authorization)[![GitHub Tests Action Status](https://camo.githubusercontent.com/73612992ad41277fa31850877743713ecbf21f29266a4df3d98a041d04b2af3a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736c6e652d646576656c6f706d656e742f66696c616d656e742d617574686f72697a6174696f6e2f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/slne-development/filament-authorization/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/766907409f5ac0a96635f086fc4aef474038a53516e943b14fb25b6c4d00db84/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736c6e652d646576656c6f706d656e742f66696c616d656e742d617574686f72697a6174696f6e2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/slne-development/filament-authorization/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/62f4fb0b6380a1e66018f2fdcc4c91d562dddb4624d56cb8c7ffb302738651e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736c6e652d646576656c6f706d656e742f66696c616d656e742d617574686f72697a6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/slne-development/filament-authorization)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require slne-development/filament-authorization
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="filament-authorization-migrations"
php artisan migrate
```

You can publish the config file with:

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

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-authorization-views"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$filamentAuthorization = new SLNE\FilamentAuthorization();
echo $filamentAuthorization->echoPhrase('Hello, SLNE!');
```

Make sure to remove the default Authorization middlewares from middleware and authorizationMiddleware.

Testing
-------

[](#testing)

```
composer test
```

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)

- [Simon Homberg](https://github.com/SLNE-Development)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance86

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

37

Last Release

95d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5946f64f6d618ff2600cc885213311fd984940548442c2d1ed130c8b09d18fc6?d=identicon)[ammodev](/maintainers/ammodev)

---

Top Contributors

[![ammodev](https://avatars.githubusercontent.com/u/32338899?v=4)](https://github.com/ammodev "ammodev (48 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelfilament-authorizationSLNE-Development

### Embed Badge

![Health badge](/badges/slne-development-filament-authorization/health.svg)

```
[![Health](https://phpackages.com/badges/slne-development-filament-authorization/health.svg)](https://phpackages.com/packages/slne-development-filament-authorization)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)[dutchcodingcompany/filament-socialite

Social login for Filament through Laravel Socialite

213914.9k9](/packages/dutchcodingcompany-filament-socialite)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)[chiiya/filament-access-control

Admin user, role and permission management for Laravel Filament

21847.2k](/packages/chiiya-filament-access-control)[binary-cats/laravel-rbac

Laravel enum-backed RBAC extension of spatie/laravel-permission

7730.4k](/packages/binary-cats-laravel-rbac)

PHPackages © 2026

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