yiirocks / voyti-2fa-totp
TOTP authenticator-app two-factor authentication method for the YiiRocks Voyti Yii3 extension
Fund package maintenance!
Requires
- php: >=8.3
- chillerlan/2fa-qrcode-bundle: ^2.0
- yiirocks/voyti-2fa: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: @stable
- infection/infection: ^0.34.0
- nyholm/psr7: ^1.8
- phpunit/phpunit: @stable
- psr/http-client: ^1.0
- rector/rector: ^2.1.1
- vimeo/psalm: 6.x-dev
- yiisoft/code-style: ^1.1
- yiisoft/config: ^1.6
- yiisoft/csrf: ^2.0
- yiisoft/db-sqlite: ^2.0
- yiisoft/di: *
- yiisoft/mailer: ^6.1
- yiisoft/router: ^4.0
- yiisoft/router-fastroute: ^4.0
- yiisoft/session: ^3.0
- yiisoft/user: ^2.3
- yiisoft/yii-view-renderer: ^7.1
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.
Stats for Nerds
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
- PHP 8.3+
- yiirocks/voyti-2fa
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