yiirocks/voyti-2fa-webauthn

WebAuthn/passkey two-factor authentication method for the YiiRocks Voyti Yii3 extension

Maintainers

Package info

github.com/YiiRocks/voyti-2fa-webauthn

Homepage

pkg:composer/yiirocks/voyti-2fa-webauthn

Transparency log

Fund package maintenance!

YiiRocks

Statistics

Installs: 4

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main / 1.0.x-dev 2026-08-11 20:55 UTC

This package is auto-updated.

Last update: 2026-08-11 20:55:55 UTC


README

WebAuthn / passkey two-factor authentication method for Voyti, the Yii3 user-management extension. Uses a client-collected credential (security key, platform authenticator, or passkey) rather than a typed code, and renders its own login-confirmation fragment.

Packagist Version PHP from Packagist Packagist GitHub License GitHub Workflow Status

Stats for Nerds

Coverage MSI Tests Assertions

What this is

A two-factor method package for Voyti's voyti-2fa base. Install it and it registers itself — its button appears on the settings screen's method switcher and it becomes selectable in the login confirmation step. It stores enrolled credentials in its own user_webauthn_credential table (migration path registered automatically).

Requirements

Installation

The yiirocks/voyti-2fa base is pulled in automatically as a dependency:

composer require yiirocks/voyti-2fa-webauthn

Documentation

Installation steps, the relying-party configuration, and the rest of the reference are covered at Yii.Rocks.

Testing

# Unit tests
composer phpunit

# Mutation testing
composer infection

# Static analysis
composer psalm

# Code style fixer
composer php-cs-fixer