yiirocks/voyti-2fa-totp

TOTP authenticator-app two-factor authentication method for the YiiRocks Voyti Yii3 extension

Maintainers

Package info

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

Homepage

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

Transparency log

Fund package maintenance!

YiiRocks

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

dev-main / 1.0.x-dev 2026-08-11 19:32 UTC

This package is auto-updated.

Last update: 2026-08-11 19:33:48 UTC


README

Authenticator-app (TOTP) two-factor authentication method for Voyti, the Yii3 user-management extension. Provisions a secret via QR code and verifies the time-based code the user's authenticator app generates.

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.

Requirements

Installation

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

composer require yiirocks/voyti-2fa-totp

Documentation

Installation steps and the full configuration 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