PHPackages                             bariew/yii2-module-abstract-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. bariew/yii2-module-abstract-user

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

bariew/yii2-module-abstract-user
================================

User module

048PHP

Since Apr 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bariew/yii2-module-abstract-user)[ Packagist](https://packagist.org/packages/bariew/yii2-module-abstract-user)[ RSS](/packages/bariew-yii2-module-abstract-user/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

```

Yii2 user module.
===================
Standard yii2 module for user management.

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

1. Mention module class in app config
```
'modules' => [
    ...
    'user' => [
        'class' => 'bariew\userAbstractModule\UserModule',
        'params' => [
            'emailConfirm' => false, // whether registration email confirm is required
            'resetTokenExpireSeconds' => 86400 // seconds till password reset token expires
        ]
    ]
]
```

2. Set app user component identity class.
```
'components' => [
    ...
    'user' => [
        'identityClass' => 'bariew\userAbstractModule\models\User',
    ],
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'google' => [
                'class' => 'yii\authclient\clients\GoogleOAuth',
                'clientId' => 'google_client_id',
                'clientSecret' => 'google_client_secret',
            ],
            'facebook' => [
                'class' => 'yii\authclient\clients\Facebook',
                'clientId' => 'facebook_client_id',
                'clientSecret' => 'facebook_client_secret',
            ],
        ],
    ]
]
```
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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/8214f36975034f4134506744cd956e8415491006c1b3512af22bf75f91165f06?d=identicon)[bariew](/maintainers/bariew)

---

Top Contributors

[![bariew](https://avatars.githubusercontent.com/u/827508?v=4)](https://github.com/bariew "bariew (16 commits)")

### Embed Badge

![Health badge](/badges/bariew-yii2-module-abstract-user/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)

PHPackages © 2026

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