PHPackages                             thefx/yii2-user - 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. thefx/yii2-user

ActiveYii2-extension[Authentication &amp; Authorization](/categories/authentication)

thefx/yii2-user
===============

User

01272PHP

Since Sep 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/thefx/yii2-user)[ Packagist](https://packagist.org/packages/thefx/yii2-user)[ RSS](/packages/thefx-yii2-user/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (2)Used By (2)

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

[](#installation)

Either run

```
composer require thefx/yii2-user:dev-master

```

or add

```
"thefx/yii2-blocks": "dev-master"

```

Apply Migrations

```
php yii migrate --migrationPath=@thefx/user/migrations

```

Config

```
'modules' => [
    'user' => [
        'class' => 'thefx\user\Module',
    ],
],
'components' => [
    'user' => [
        'identityClass' => 'thefx\user\models\User',
        'enableAutoLogin' => true,
        'loginUrl' => ['/login'],
    ],
],
'urlManager' => [
    'rules' => [
        '' => 'frontend/user/',
    ]
]

```

If you want to prevent registration

```
'user' => [
    'class' => 'thefx\user\Module',
    'controllerMap' => [
        'default' => [
            'class' => 'thefx\user\controllers\DefaultController',
            'allowRegister' => false,
        ],
    ],
],

```

Links

```
https://mysite.ru/login
https://mysite.ru/register

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance29

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd3086428aaa7f5e19cf98fe3a6b528c9ec56ccce8fc200fa962faf0874ae563?d=identicon)[3FoX](/maintainers/3FoX)

---

Top Contributors

[![thefx](https://avatars.githubusercontent.com/u/11796334?v=4)](https://github.com/thefx "thefx (13 commits)")

### Embed Badge

![Health badge](/badges/thefx-yii2-user/health.svg)

```
[![Health](https://phpackages.com/badges/thefx-yii2-user/health.svg)](https://phpackages.com/packages/thefx-yii2-user)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)

PHPackages © 2026

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