ScopeCheckboxList component to encapsulate scope rendering, grouping, and and selection logic in a
reusable and UI-focused way.CacheFlasher support utility to safely transfer short-lived, one-time values across redirect and
lifecycle boundaries without relying on sessions or persistent storage, providing a deterministic and
security-conscious alternative for ephemeral state handoff.ClientResourceForm with a dedicated CreateClientForm tailored specifically for client
creation.ScopeFormSectionBuilder in favor of the new component-based scope configuration approach.Filament v4 Plugin for Laravel Passport OAuth2 administration via FilamentPassportUiPlugin.
OAuth Client Management through a dedicated Filament resource (ClientResource) with full support for all
Passport grant types:
Token Management Resource (TokenResource) for inspecting, identifying, and revoking issued access tokens,
including an explicit token ID column for improved traceability.
Database-backed Scope Management with structured resource + action modeling:
PassportScopeResourceResource for managing scope resourcesPassportScopeActionsResource for managing scope actionsPassportScopeGrant model for granular scope-to-owner assignmentsApplication Use Case Layer following Clean Architecture principles, providing explicit and auditable domain operations:
CreateClientUseCaseEditClientUseCaseGetAllowedGrantTypeOptionsGetAllOwnersUseCaseGetAllOwnersRelationshipUseCaseSaveOwnershipRelationUseCaseClearCacheUseCase for centralized cache invalidationExplicit Domain Event Dispatching for all relevant lifecycle operations (create, update, delete, revoke), ensuring that domain events are emitted only when actions are executed through use cases, resulting in predictable and traceable behavior.
OAuth Client Factory using a strategy-based approach to encapsulate grant-specific client creation logic:
AuthorizationCodeClientStrategyClientCredentialsClientStrategyPasswordGrantClientStrategyPersonalAccessClientStrategyImplicitGrantClientStrategyDeviceGrantClientStrategyService Layer Abstractions for core authorization concerns:
ClientService for OAuth client lifecycle and ownership handlingGrantService for granting and revoking scopes on tokenable modelsScopeRegistryService for scope discovery, registration, and cachingRepository Pattern with Contracts for all core domain models:
ClientRepository, TokenRepository, OwnerRepositoryResourceRepository, ActionRepository, ScopeGrantRepositoryUI Enhancements for Client Administration:
RevokeColumn for explicit revoke-state visibility in client tablesRevokeToggle for controlled client revocation via formsEvent System covering OAuth and scope lifecycle changes:
OAuthClientCreated, OAuthClientRevokedScopeCreated, ScopeDeactivatedAudit Logging Integration via spatie/laravel-activitylog, providing full traceability of security-relevant
administrative actions.
Value Objects and DTOs for stricter domain modeling and type safety:
ScopeName value object for structured scope namingCreateOAuthClientData, ScopeDTO for explicit data transferConfigurable Package Options via config/passport-ui.php, including:
Console Commands for operational support:
filament-passport-ui:cleanup-cache for explicit cache invalidation, including scope registry cacheLocalization Support with English and German translations.
Database Migrations and Seeders for scope management:
passport_scope_resourcespassport_scope_actionspassport_scope_grantTest Coverage for Stability, ensuring predictable behavior across authorization, ownership, and scope management features.
Comprehensive Documentation covering installation, configuration, scoped authorization concepts, and testing strategies.
IdColumn to TokenTable for better token identificationLastLoginColumnEditClientUseCase when receiving an identifier instead of an entity.Filament v4 Plugin for Laravel Passport OAuth2 administration via FilamentPassportUiPlugin
OAuth Client Management Resource (ClientResource) with support for all grant types:
Token Management Resource (TokenResource) for viewing and managing issued access tokens
Database-backed Scope Management with structured resource + action modeling:
PassportScopeResourceResource for managing scope resourcesPassportScopeActionsResource for managing scope actionsPassportScopeGrant model for granular scope assignmentsOAuth Client Factory with strategy pattern for creating different client types:
AuthorizationCodeClientStrategyClientCredentialsClientStrategyPasswordGrantClientStrategyPersonalAccessClientStrategyImplicitGrantClientStrategyDeviceGrantClientStrategyApplication Use Cases (Clean Architecture pattern):
CreateClientUseCase for creating new OAuth clients with automatic scope assignmentEditClientUseCase for modifying existing OAuth clientsGetAllowedGrantTypeOptions for retrieving available grant typesGetAllOwnersUseCase and GetAllOwnersRelationshipUseCase for owner lookupSaveOwnershipRelationUseCase for transferring client ownershipService Layer:
ClientService for OAuth client lifecycle management with ownership supportGrantService for granting/revoking scopes on tokenable modelsScopeRegistryService for scope discovery and registrationRepository Pattern with contracts:
ClientRepository, TokenRepository, OwnerRepositoryResourceRepository, ActionRepository, ScopeGrantRepositoryEvent System:
OAuthClientCreated, OAuthClientRevoked eventsScopeCreated, ScopeDeactivated eventsObserver Support for Client, PassportScopeAction, and PassportScopeResource models
Activity Logging integration via Spatie Activity Log for OAuth operations
Value Objects: ScopeName for structured scope naming convention
DTOs: CreateOAuthClientData, ScopeDTO for type-safe data transfer
Configurable options via config/passport-ui.php:
Localization support with English and German translations
Database Migrations for scope management tables:
passport_scope_resourcespassport_scope_actionspassport_scope_grantDatabase Seeders for default scope resources and actions
Install Command with interactive setup wizard
Comprehensive Documentation covering configuration, scoped controllers, and testing
How can I help you explore Laravel packages today?