PHPackages                             yiirocks/voyti - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. yiirocks/voyti

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

yiirocks/voyti
==============

Highly customizable and extensible user management, authentication, and authorization Yii3 extension

v1.0.0-beta.2(2w ago)282↓50%[3 issues](https://github.com/YiiRocks/voyti/issues)BSD-3-ClausePHPPHP &gt;=8.3CI passing

Since Jul 13Pushed 1w agoCompare

[ Source](https://github.com/YiiRocks/voyti)[ Packagist](https://packagist.org/packages/yiirocks/voyti)[ Docs](https://www.yii.rocks/voyti/)[ GitHub Sponsors](https://github.com/sponsors/YiiRocks)[ RSS](/packages/yiirocks-voyti/feed)WikiDiscussions main Synced 2w ago

READMEChangelogDependencies (43)Versions (4)Used By (0)

Voyti — Yii3 User Management Extension
======================================

[](#voyti--yii3-user-management-extension)

> **войти**
> ***/vɐjˈtʲi/***
> *verb*
>
> "to enter" or "to log in"

Highly customizable and extensible user management, authentication, and authorization extension for Yii3.

Ported from [2amigos/yii2-usuario](https://github.com/2amigos/yii2-usuario) and rebuilt for Yii3 with PSR-15 middleware, PSR-11 DI, ActiveRecord models, FormModel forms, and RBAC.

[![Packagist Version](https://camo.githubusercontent.com/900118be0aee064444ae24caa169b0e6e839e69628d27c14cf46da68a63fb2b0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f796969726f636b732f766f7974692e737667)](https://packagist.org/packages/yiirocks/voyti)[![PHP from Packagist](https://camo.githubusercontent.com/f4f1f93ca831081247a0c110b0a3c28558ecdb479ff69f865e21436a0902b823/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f796969726f636b732f766f7974692e737667)](https://php.net/)[![Packagist](https://camo.githubusercontent.com/e634af583e3dbc21094ff7d90ebc223727e20968d2648fdbe9a52731071d9c24/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f796969726f636b732f766f7974692e737667)](https://packagist.org/packages/yiirocks/voyti)[![GitHub](https://camo.githubusercontent.com/b1914024118e0f05721f27b48f2e13617ca7288c7c2f332b947c629b1ad49968/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f796969726f636b732f766f7974692e737667)](https://github.com/yiirocks/voyti/blob/main/LICENSE.md)[![GitHub Workflow Status](https://camo.githubusercontent.com/19afa2d88e4703521bd45f7f1a3db27d8e5ee8a9c511fc61ea0f17ea9a93d94f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f796969726f636b732f766f7974692f6275696c642e796d6c3f6272616e63683d6d61696e)](https://github.com/yiirocks/voyti/actions)

Stats for Nerds

[![Coverage](https://camo.githubusercontent.com/3c8f4c3d70d510bcdaeeca244fa011628a3197d4d293f05c4e180cd501dae0f2/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d253246796969726f636b73253246766f797469253246626164676573253246636f7665726167652e6a736f6e)](https://github.com/yiirocks/voyti/tree/badges)[![MSI](https://camo.githubusercontent.com/7b4c23499941ff9eff39e8a3372fb08a885d7e19f403a85cd0f76b36bb64eabb/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d253246796969726f636b73253246766f7974692532466261646765732532466d73692e6a736f6e)](https://github.com/yiirocks/voyti/tree/badges)[![Tests](https://camo.githubusercontent.com/2859b35118bca59aa6090eed32105e8ca94d7a280eef620e60f2499ddffdacf2/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d253246796969726f636b73253246766f79746925324662616467657325324674657374732e6a736f6e)](https://github.com/yiirocks/voyti/tree/badges)[![Assertions](https://camo.githubusercontent.com/aa5373e17f8c4671c263227c104377f990135346c86c8cff0aba3792382a9952/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f75726c3d68747470732533412532462532467261772e67697468756275736572636f6e74656e742e636f6d253246796969726f636b73253246766f797469253246626164676573253246617373657274696f6e732e6a736f6e)](https://github.com/yiirocks/voyti/tree/badges)

---

Features
--------

[](#features)

- **User Management** — Registration, email confirmation, login/logout with remember-me, password recovery, password expiration
- **Profile Management** — User profiles with gravatar, timezone, bio, and a personal website link
- **Social Authentication** — Various built-in auth clients
- **Two-Factor Authentication** — TOTP (authenticator app) and email 2FA with enforced-per-permission support, plus one-time backup codes for account recovery
- **RBAC Management** — Full admin UI for roles, permissions, and rules with parent-child hierarchy, assignment management, and filtering
- **Identity Switching** — Admins can temporarily switch into another user's identity for support or debugging, then restore their own session with one click
- **Session Management** — Session tracking and termination
- **GDPR Compliance** — Consent management, data export, anonymized deletion with admin notification
- **Password Policies** — Minimum complexity requirements, max age enforcement via middleware
- **Email Change Confirmation** — Three modes: immediate, confirm new address, confirm both old and new
- **REST API** — Optional JSON API for user CRUD
- **CAPTCHA** — Optional reCAPTCHA v2/v3 integration via `yiirocks/recaptcha`
- **i18n** — Built-in translations for multiple languages
- **Themed Views** — Bootstrap 5 views shipped by default; mail templates separate and independently overridable

Requirements
------------

[](#requirements)

- PHP 8.3+
- ext-intl
- Various yiisoft packages (automatic installation via composer)

Installation
------------

[](#installation)

The package could be installed via composer:

```
composer require yiirocks/voyti
```

Documentation
-------------

[](#documentation)

Installation steps, the full configuration reference, routes, middleware, social auth setup, RBAC, console commands, and events are all covered at [Yii.rocks](https://www.yii.rocks/voyti/).

Testing
-------

[](#testing)

```
# Unit tests
composer phpunit

# Mutation testing
composer infection

# Static analysis
composer psalm

# Code style fixer
composer php-cs-fixer
```

See [docs/internals.md](docs/internals.md) for details on the testing/QA tooling.

License
-------

[](#license)

[BSD-3-Clause](LICENSE.md)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance77

Regular maintenance activity

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

2

Last Release

17d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1957a3dc890165f142079565dc6b0ef59c26838a36fba5f052985e34612ce269?d=identicon)[mr42](/maintainers/mr42)

---

Top Contributors

[![Mister-42](https://avatars.githubusercontent.com/u/68641750?v=4)](https://github.com/Mister-42 "Mister-42 (92 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

authuserrbacextensionyiimanagementyii3

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/yiirocks-voyti/health.svg)

```
[![Health](https://phpackages.com/badges/yiirocks-voyti/health.svg)](https://phpackages.com/packages/yiirocks-voyti)
```

###  Alternatives

[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[typo3/cms-core

TYPO3 CMS Core

3713.6M5.5k](/packages/typo3-cms-core)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.8k](/packages/cakephp-cakephp)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6943.5M442](/packages/drupal-core-recommended)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k19](/packages/tempest-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
