Search by

ez-php / webauthn

AU9500

WebAuthn / FIDO2 passkey authentication: registration and assertion ceremonies, attestation verification, challenge handling

Package info

github.com/ez-php/webauthn

pkg:composer/ez-php/webauthn

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

2.4.2 2026-09-16 14:31 UTC

This package is auto-updated.

Last update: 2026-09-16 14:36:10 UTC


README

WebAuthn / FIDO2 passkey authentication: registration and assertion ceremonies, attestation verification, challenge handling.

Installation

composer require ez-php/webauthn

Usage

See docs/superpowers/specs/2026-09-14-webauthn-module-design.md for the full design. Quick start:

$relyingParty = new RelyingParty(id: 'example.com', name: 'Example', allowedOrigins: ['https://example.com']);
$ceremony = new RegistrationCeremony($relyingParty);
$credentialSource = $ceremony->verify($challenge, $clientResponse);
$credentialRepository->save($credentialSource);

License

MIT