PHPackages                             n3xt0r/filament-passport-ui - 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. n3xt0r/filament-passport-ui

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

n3xt0r/filament-passport-ui
===========================

Filament v4/v5 admin resources for managing Laravel Passport OAuth2 clients, tokens, and scopes with full auditability.

2.3.0(1mo ago)8813↓35.3%1[1 PRs](https://github.com/N3XT0R/filament-passport-ui/pulls)MITPHPPHP ^8.4|^8.5CI passing

Since Jan 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/N3XT0R/filament-passport-ui)[ Packagist](https://packagist.org/packages/n3xt0r/filament-passport-ui)[ Docs](https://github.com/n3xt0r/filament-passport-ui)[ GitHub Sponsors](https://github.com/N3XT0R)[ RSS](/packages/n3xt0r-filament-passport-ui/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (30)Versions (16)Used By (0)

Filament Passport UI
====================

[](#filament-passport-ui)

[![Latest Version on Packagist](https://camo.githubusercontent.com/619ea82e7554f64dace4a027ad46b66b9d4db665975f4e199f548cd146b5b1af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e33787430722f66696c616d656e742d70617373706f72742d75692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/n3xt0r/filament-passport-ui)[![Security Rating](https://camo.githubusercontent.com/8ca56a2c1016b73cd40186dc29b86033c263f00fcadc41cda8a3c2c884d47b58/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d4e33585430525f66696c616d656e742d70617373706f72742d7569266d65747269633d73656375726974795f726174696e67)](https://sonarcloud.io/summary/new_code?id=N3XT0R_filament-passport-ui)[![ISO 27001 Audit Ready](https://camo.githubusercontent.com/e8eaa6116e8925603a4c956a3cd23347456ffeba254d2c276a000c3f1c55f7ac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f49534f25323032373030312d61756469742d2d72656164792d626c75653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e8eaa6116e8925603a4c956a3cd23347456ffeba254d2c276a000c3f1c55f7ac/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f49534f25323032373030312d61756469742d2d72656164792d626c75653f7374796c653d666c61742d737175617265)[![PHP 8.4/8.5](https://camo.githubusercontent.com/e8b963d8fc5957662c09d181afa064dbc4367d3e4441e772805980718c256f99/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e34253246382e352d3737374242343f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/e8b963d8fc5957662c09d181afa064dbc4367d3e4441e772805980718c256f99/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e34253246382e352d3737374242343f7374796c653d666c61742d737175617265)[![Filament 4/5](https://camo.githubusercontent.com/05dc0c19152265aa15b7d46d39e7e6a467316e0e31e1d267ab2fae3b80f8d098/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d34253246352d4644414534423f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/05dc0c19152265aa15b7d46d39e7e6a467316e0e31e1d267ab2fae3b80f8d098/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f46696c616d656e742d34253246352d4644414534423f7374796c653d666c61742d737175617265)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f49755cd70d3f3a897fa39eb4729f68751ea5f1e514904036f20fc576df52942/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e33787430722f66696c616d656e742d70617373706f72742d75692f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/n3xt0r/filament-passport-ui/actions?query=workflow%3Arun-tests+branch%3Amain)[![Maintainability](https://camo.githubusercontent.com/a93b7f23086871e71241c676a3d2f7bac03b2f11d97894198f6854d946975819/68747470733a2f2f716c74792e73682f67682f4e33585430522f70726f6a656374732f66696c616d656e742d70617373706f72742d75692f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/N3XT0R/projects/filament-passport-ui)[![Code Coverage](https://camo.githubusercontent.com/557151aaf53309f94adbef1641bc734a4b08f1b743f98b7aac262f3270813354/68747470733a2f2f716c74792e73682f67682f4e33585430522f70726f6a656374732f66696c616d656e742d70617373706f72742d75692f636f7665726167652e737667)](https://qlty.sh/gh/N3XT0R/projects/filament-passport-ui)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/ce7d1a527689936da799b39054258f11eba1ec55adb15ce859aa62d21da423ed/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e33787430722f66696c616d656e742d70617373706f72742d75692f7068702d636f64652d7374796c652e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/n3xt0r/filament-passport-ui/actions?query=workflow%3A%22PHP+code+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4aba14cb98577a7da22c8c175a4c208c192a1335cbdd025885376004ed8d1966/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e33787430722f66696c616d656e742d70617373706f72742d75692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/n3xt0r/filament-passport-ui)

[![Filament Passport UI Logo](art/logo.png)](art/logo.png)

**Filament Passport UI** provides a structured administrative interface for managing **Laravel Passport** OAuth resources using **Filament**.

This package focuses on **administration, visibility, and governance** not on implementing or enforcing OAuth flows.

Designed for applications that already rely on Filament as their primary admin panel and need to manage OAuth clients, tokens, scopes, and authorization concepts in a centralized, reviewable way without custom tooling or CLI workflows.

Overview
--------

[](#overview)

Filament Passport UI adds an administration layer on top of Laravel Passport:

- Manage OAuth clients explicitly by grant type (authorization code, client credentials, password, personal access, implicit, device)
- View and revoke access tokens with full visibility into state and expiration
- Model scopes as structured `resource:action` pairs instead of free-form strings
- Track grants and authorization relationships centrally
- Make all authorization decisions explicit and auditable

**Important:** Passport itself is not modified. This package operates entirely at the application and UI level.

Features
--------

[](#features)

### Central Management

[](#central-management)

- Filter and manage OAuth clients by grant type
- Enable or revoke clients via UI
- Structure scopes (not ad-hoc strings)
- Full visibility into authorization state
- Explicit client-level and user-level scope assignment
- Enforce Least Privilege: user scopes are always a strict subset of client scopes

### Filament Integration

[](#filament-integration)

- Native Filament Resources and Pages
- Consistent UX aligned with Filament conventions
- Multi-step wizard for client creation with contextual steps based on grant type
- No custom panels required

### Auditability &amp; Compliance

[](#auditability--compliance)

- All administrative actions recorded via `spatie/laravel-activitylog`
- Full traceability of OAuth configuration changes
- Supports compliance requirements (e.g. ISO/IEC 27001)
- Audit logs remain application-owned

> Note: Certification is organization-specific. This package enables auditability but does not constitute compliance by itself.

### Design Principles

[](#design-principles)

- No modifications to Passport internals
- No assumptions about application architecture
- Authorization logic remains the responsibility of the application
- All administrative actions are explicit and reviewable

What This Package Does NOT Do
-----------------------------

[](#what-this-package-does-not-do)

- Implement OAuth flows
- Replace Passport
- Enforce authorization decisions at runtime
- Infer application-specific security rules

Authorization logic is the responsibility of the application and its developers.

Why This Exists
---------------

[](#why-this-exists)

Laravel Passport is standards-compliant but intentionally stays neutral on administration and governance. In real-world applications, this often results in:

- OAuth clients created via CLI and never revisited
- Scopes defined ad-hoc without structure
- No central visibility of active tokens
- Unclear ownership of integrations across teams

**Filament Passport UI solves this** by providing:

- Central visibility into OAuth configuration
- Structured scope modeling (resource:action)
- Explicit administrative workflows
- Single point of review and governance

Essential for systems with multiple integrations or teams managing OAuth access.

Requirements
------------

[](#requirements)

- PHP ^8.4 / PHP ^8.5
- Laravel ^12 / Laravel ^13
- Laravel Passport ^13
- Filament v4 / Filament v5

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

[](#installation)

```
composer require n3xt0r/filament-passport-ui
php artisan filament-passport-ui:install
```

If your application uses custom Passport models, publish the configuration file and adjust model mappings accordingly.

Architecture
------------

[](#architecture)

The package maintains strict separation of concerns:

- **Domain Logic:**[Laravel Passport Authorization Core](https://github.com/N3XT0R/laravel-passport-authorization-core) (scope and grant modeling, authorization context resolution)
- **UI Layer:** Filament Passport UI (administration interface, visibility, governance)

The API remains stable while authorization logic evolves in the core package.

Migration to v2
---------------

[](#migration-to-v2)

Starting with v2, Filament Passport UI uses the **[Laravel Passport Authorization Core](https://github.com/N3XT0R/laravel-passport-authorization-core)** package.

Database schema and optional configuration are managed by the core package and not published automatically.

See **[Migration to v2](https://github.com/N3XT0R/filament-passport-ui/blob/main/docs/migration-to-v2.md)** for detailed instructions.

Development &amp; Testing
-------------------------

[](#development--testing)

```
composer install
composer test       # Run tests
composer serve      # Start local dev server
```

Access admin at `http://localhost:8000/admin`
Login: `test@example.com` / `password`

Documentation &amp; Status
--------------------------

[](#documentation--status)

- **Docs:** [Full Documentation](https://github.com/N3XT0R/filament-passport-ui/blob/main/docs/index.md)
- **Status:** Actively developed. Feedback and discussion welcome on GitHub

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance89

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 99.1% 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 ~10 days

Recently: every ~18 days

Total

8

Last Release

58d ago

Major Versions

1.0.0 → 2.0.02026-01-09

PHP version history (2 changes)1.0.0-beta.1PHP ^8.4

2.2.0PHP ^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dbd2b0984ee6f62b6c5c3356b0e0cff2f2afa5c98c4d05272eb4356e080d545?d=identicon)[N3XT0R](/maintainers/N3XT0R)

---

Top Contributors

[![N3XT0R](https://avatars.githubusercontent.com/u/1297846?v=4)](https://github.com/N3XT0R "N3XT0R (962 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (7 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (2 commits)")

---

Tags

audit-loggingauthorizationcompliancefilamentfilament-v4filament-v5laravel-packagelaravel-passportoauth2scopeslaraveluioauthoauth2passportAuditadminscopesaccess tokenoauth2 serverfilamentfilamentphpadmin-panelactivityloglaravel passportpersonal-access-tokenclient-credentialsauthorization-code

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/n3xt0r-filament-passport-ui/health.svg)

```
[![Health](https://phpackages.com/badges/n3xt0r-filament-passport-ui/health.svg)](https://phpackages.com/packages/n3xt0r-filament-passport-ui)
```

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[relaticle/custom-fields

User Defined Custom Fields for Laravel Filament

15828.6k](/packages/relaticle-custom-fields)[marcelweidum/filament-passkeys

Use passkeys in your filamentphp app

5925.8k](/packages/marcelweidum-filament-passkeys)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

81158.7k4](/packages/stephenjude-filament-two-factor-authentication)[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)[wearedevtical/novassport

A Laravel Nova tool to manage API Authentication (Passport).

663.1k](/packages/wearedevtical-novassport)

PHPackages © 2026

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