azaharizaman / nexus-laravel-identity-adapter
Laravel adapter for Identity package with authentication/authorization
Package info
github.com/azaharizaman/nexus-laravel-identity-adapter
pkg:composer/azaharizaman/nexus-laravel-identity-adapter
v0.1.0-alpha1
2026-05-05 02:28 UTC
Requires
- php: ^8.3
- azaharizaman/nexus-identity: dev-main
- illuminate/auth: ^11.0|^12.0
- illuminate/database: ^11.0|^12.0
- illuminate/support: ^11.0|^12.0
- psr/log: ^3.0
Requires (Dev)
- mockery/mockery: ^1.6
- phpunit/phpunit: ^11.0
This package is auto-updated.
Last update: 2026-05-05 03:40:26 UTC
README
This adapter provides Laravel-specific implementations for the Identity package.
Purpose
The Identity package is an atomic package. This adapter provides Laravel integration.
Installation
composer require azaharizaman/nexus-laravel-identity-adapter
Adapters Provided
CacheRepositoryAdapter
Implements Nexus\Identity\Contracts\CacheRepositoryInterface using Laravel's cache.
PermissionCheckerAdapter
Implements Nexus\Identity\Contracts\PermissionCheckerInterface using Laravel's Gate.
Service Provider
The IdentityAdapterServiceProvider automatically binds the Identity interfaces.
Dependencies
azaharizaman/nexus-identity- The atomic Identity packageilluminate/support- Laravel framework componentsilluminate/auth- Laravel authentication components