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(4mo ago)071[1 PRs](https://github.com/SLNE-Development/filament-authorization/pulls)MITPHPPHP ^8.2CI passing

Since Feb 5Pushed 2mo 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 today

READMEChangelogDependencies (4)Versions (41)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

42

—

FairBetter than 88% of packages

Maintenance81

Actively maintained with recent releases

Popularity10

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

141d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32338899?v=4)[Simon](/maintainers/ammodev)[@ammodev](https://github.com/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

[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

6649.5k1](/packages/marcelweidum-filament-passkeys)[waguilar33/filament-guardian

Role and permission management for Filament

162.3k](/packages/waguilar33-filament-guardian)[solution-forest/filament-email-2fa

filament-email-2fa

3211.0k](/packages/solution-forest-filament-email-2fa)[stephenjude/filament-debugger

About

104162.2k2](/packages/stephenjude-filament-debugger)

PHPackages © 2026

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