Documentation Index
Fetch the complete documentation index at: https://kawax.biz/llms.txt
Use this file to discover all available pages before exploring further.
This article is based on the official README files of
laravel/passkeys-server and laravel/passkeys. Both packages are still pre-tag and under active development (as of April 2026).What these packages are
Laravel has published two official repositories for passwordless authentication with WebAuthn/passkeys:- Server-side package:
laravel/passkeys-server - Browser/client package:
@laravel/passkeys
Server side package: laravel/passkeys-server
Installation and initial setup
If you want to customize defaults, publish the config:
Auto-registered routes
| Area | Method | Route | Purpose |
|---|---|---|---|
| Login (guest) | GET | /passkeys/login/options | Get verification options |
| Login (guest) | POST | /passkeys/login | Verify credential and sign in |
| Confirmation (auth) | GET | /passkeys/confirm/options | Get confirmation options |
| Confirmation (auth) | POST | /passkeys/confirm | Verify passkey for confirmation |
| Management (auth) | GET | /user/passkeys/options | Get registration options |
| Management (auth) | POST | /user/passkeys | Store a new passkey |
| Management (auth) | DELETE | /user/passkeys/{passkey} | Delete an existing passkey |
Key options in config/passkeys.php
relying_party_idallowed_originsuser_handle_secrettimeoutguardmiddlewarethrottleredirect
Events
The package emits:PasskeyRegisteredPasskeyVerifiedPasskeyDeleted
Customization points
Login authorization callback
Login authorization callback
Custom actions
Custom actions
You can extend and bind action classes such as
GenerateRegistrationOptions, GenerateVerificationOptions, StorePasskey, VerifyPasskey, and DeletePasskey.Custom responses
Custom responses
You can bind response contracts like
PasskeyLoginResponse to return your own JSON payloads or redirects after passkey operations.Browser package: @laravel/passkeys
@laravel/passkeys is the JavaScript client that runs WebAuthn ceremonies in the browser.
Installation
Core API
Framework helpers
- React:
usePasskeyVerify,usePasskeyRegisterfrom@laravel/passkeys/react - Vue:
usePasskeyVerify,usePasskeyRegisterfrom@laravel/passkeys/vue - Svelte:
usePasskeyVerify,usePasskeyRegisterfrom@laravel/passkeys/svelte
Passkey autofill
Withautofill: true, the client asks the browser to show saved passkeys in a credential picker attached to an input that includes the webauthn autocomplete token.
Typed error classes
The README documents these typed errors:NotSupportedErrorUserCancelledErrorPasskeyExistsErrorPasskeyError(base class)
SSR support
WebAuthn is browser-only, but the framework hooks are SSR-safe. During SSR,isSupported is false, then it updates after mount on the client.
Summary
laravel/passkeys-serverand@laravel/passkeystogether form a complete passkey authentication stack for Laravel.- Both are still early-stage (no tags yet), but they strongly indicate official ecosystem-level passkey support.
- The architecture is Laravel-native end to end: routes, middleware/guards, actions/responses, and typed frontend integration.
laravel/passkeys-server
Read the latest server-side README and source code directly in the official repository.
@laravel/passkeys
Read the latest browser client README and framework helper APIs.