Download the PHP package roundly-consulting/passkeys-for-laravel without Composer
On this page you can find all versions of the php package roundly-consulting/passkeys-for-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roundly-consulting/passkeys-for-laravel
More information about roundly-consulting/passkeys-for-laravel
Files in roundly-consulting/passkeys-for-laravel
Package passkeys-for-laravel
Short Description A native WebAuthn / FIDO2 passkey relying party for Laravel — registration and authentication ceremonies with ES256/RS256/EdDSA, zero third-party crypto dependencies.
License MIT
Homepage https://roundly-consulting.com/open-source/docs/passkeys-for-laravel
Informations about the package passkeys-for-laravel
Passkeys for Laravel
A native WebAuthn / FIDO2 passkey relying party for Laravel: register passkeys and sign users in with them (ES256, RS256 and EdDSA), with no third-party crypto dependencies. It ships actions, a model, a challenge store and events, and your application wires its own endpoints on top.
Installation
Requires PHP 8.4 (ext-json; ext-sodium for EdDSA keys) and Laravel 12 or 13.
Set PASSKEYS_ORIGINS (e.g. https://example.com): no ceremony runs until at least one origin is
allowed. If your users have UUID/ULID keys, set PASSKEYS_KEY_TYPE before migrating.
Usage
Give your user model the contract and an opaque user-handle column:
Register a passkey: return the options, then verify what the browser posts back:
In the browser, pass options.publicKey through PublicKeyCredential.parseCreationOptionsFromJSON()
into navigator.credentials.create(), then POST the credential with the ceremonyId:
Sign in without a username: the same with parseRequestOptionsFromJSON() and
navigator.credentials.get(), then verify:
Documentation
The full documentation — configuration, every feature and its API, and testing — lives on our website: roundly-consulting.com/open-source/docs/passkeys-for-laravel
Release notes are in CHANGELOG.md. To contribute, see the contributing guide.
Support our work
This package is free and open source, built and maintained by Roundly Consulting. If it saves you time, please consider supporting our open-source work — a one-time donation, a monthly pledge on Patreon or a crypto donation helps fund maintenance, new features and new packages.
License
The MIT License (MIT). See LICENSE.md. Copyright © Roundly Consulting.
All versions of passkeys-for-laravel with dependencies
ext-json Version *
illuminate/cache Version ^12.0|^13.0
illuminate/contracts Version ^12.0|^13.0
illuminate/database Version ^12.0|^13.0
illuminate/events Version ^12.0|^13.0
illuminate/support Version ^12.0|^13.0
roundly-consulting/crypto-for-laravel Version ^1.1.2
roundly-consulting/enums-for-laravel Version ^1.1.0
roundly-consulting/package-toolkit-for-laravel Version ^1.3.0