yiirocks/voyti-2fa-email

Email-code two-factor authentication method for the YiiRocks Voyti Yii3 extension

Maintainers

Package info

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

Homepage

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

Transparency log

Fund package maintenance!

YiiRocks

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is auto-updated.

Last update: 2026-08-11 19:38:43 UTC


README

Emailed one-time-code two-factor authentication method for Voyti, the Yii3 user-management extension. At the start of the login-confirmation step it mails a fresh six-digit code, checked against what the user enters.

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 needs only a configured mailer; no extra configuration.

Requirements

Installation

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

composer require yiirocks/voyti-2fa-email

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