lbuchs/webauthn
PHP WebAuthn (FIDO2) library for passwordless login. Generate and verify registration and authentication challenges, validate attestation and assertions, and integrate with Laravel or any PHP app for secure passkeys and hardware security keys.
Architecture fit: The package is a standalone PHP library designed to be framework-agnostic but explicitly compatible with Laravel. It provides core WebAuthn primitives without enforcing storage or session handling, allowing seamless integration into Laravel's ecosystem via service providers and custom controllers. This aligns with Laravel's modular design, as it leverages existing Laravel components (e.g., Eloquent for storage) rather than imposing its own architecture.
Integration feasibility: High feasibility due to PHP compatibility. Installation via Composer is straightforward, but manual integration is required since there is no official Laravel-specific package (e.g., no built-in service provider or migration). The TPM would need to create wrappers for Laravel's authentication system, handle session management explicitly, and adapt the library's primitives to Laravel's request lifecycle.
Technical risk: Moderate. Active maintenance (last release July 2024) and MIT license are positives, but the "unknown" repository status
How can I help you explore Laravel packages today?