Registry / auth / web-auth-webauthn-lib

web-auth-webauthn-lib

JSON →
library5.3.5phppackagistunverified

FIDO2/Webauthn Support For PHP.

composer require web-auth/webauthn-lib
INSTALL
IMPORT
SIG · WEB-AUTH-WEBAUTHN-
W
web-auth-webauthn-lib
authphpv5.3.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PublicKeyCredentialCreationOptions
use Webauthn\PublicKeyCredentialCreationOptions;

Generate WebAuthn credential creation options for registration.

use Webauthn\PublicKeyCredentialCreationOptions; $options = PublicKeyCredentialCreationOptions::create( 'https://example.com', 'user-id', 'user-name' );
Debug
Known issues
breakingRequires PHP 8.1+ and ext-sodium
fix
Upgrade to PHP 8.1 or later and install the sodium extension.
affects: >=5.0.0
Upgrade
Version history
5.3.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
36 hits · last 30 days
node
34
Resources
web-auth-webauthn-lib — pip install web-auth-webauthn-lib · libregistry