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

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

worstinme/yii2-user
===================

Yii2 module for user auth

1.0.2(9y ago)11.1kMITPHP

Since Oct 8Pushed 8y ago2 watchersCompare

[ Source](https://github.com/worstinme/yii2-user)[ Packagist](https://packagist.org/packages/worstinme/yii2-user)[ RSS](/packages/worstinme-yii2-user/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (6)Used By (0)

yii2-user
=========

[](#yii2-user)

`In developing. Use at your own risk`

User Auth / DB-RBAC / AuthClient module stiled with Uikit Framework.

[![Latest Stable Version](https://camo.githubusercontent.com/d00115743379af9bebc97bbeedadca756ed00d10fb2f18aa5097e0f7f1c68d34/68747470733a2f2f706f7365722e707567782e6f72672f776f727374696e6d652f796969322d757365722f762f737461626c652e706e67)](https://packagist.org/packages/worstinme/yii2-user)[![Total Downloads](https://camo.githubusercontent.com/59dd282f4b6da2a9563bb509ea7d3e9057a083902af59196d52213864e70f58c/68747470733a2f2f706f7365722e707567782e6f72672f776f727374696e6d652f796969322d757365722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/worstinme/yii2-user)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist worstinme/yii2-user

```

or add

```
"worstinme/yii2-user": "^1.0.0"

```

to the require section of your `composer.json` file.

Required configurations
-----------------------

[](#required-configurations)

```
'modules' => [
    'user' => [
        'class' => 'worstinme\user\Module',
    ],
    'useradmin' => [
        'class' => 'worstinme\user\backend\Module',
    ],
    ....
 ],
'components' => [
	'user' => [
        'class'=>'worstinme\user\User',
        'identityClass' => 'worstinme\user\models\User',
        'enableAutoLogin' => true,
        'loginUrl'=>['/user/default/login'],
    ],
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'google' => [
                'class' => 'yii\authclient\clients\GoogleOpenId'
            ],
            'facebook' => [
                'class' => 'yii\authclient\clients\Facebook',
                'clientId' => 'facebook_client_id',
                'clientSecret' => 'facebook_client_secret',
            ],
            // etc.
        ],
    ]
    //	...
]
```

RBAC configurations
-------------------

[](#rbac-configurations)

to web.php &amp; console.php components section

```
    'authManager' => [
            'class' => 'yii\rbac\DbManager',
    ],
]
```

&amp; migrations

```
$ yii migrate --migrationPath=@yii/rbac/migrations/

```

Then, use migrations to create user tables &amp; default user administrator:administrator with admin role(don't forget to change it's default password).

```
$ yii migrate --migrationPath=@worstinme/user/migrations/

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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.

###  Release Activity

Cadence

Every ~122 days

Total

5

Last Release

3381d ago

Major Versions

0.0.7 → 1.0.02016-05-03

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2964518?v=4)[Eugene Zakirov](/maintainers/worstinme)[@worstinme](https://github.com/worstinme)

---

Top Contributors

[![worstinme](https://avatars.githubusercontent.com/u/2964518?v=4)](https://github.com/worstinme "worstinme (37 commits)")

---

Tags

useryii2moduleeauth

### Embed Badge

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

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

###  Alternatives

[amnah/yii2-user

Yii 2 user authentication module

252225.7k3](/packages/amnah-yii2-user)[2amigos/yii2-usuario

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

298275.5k14](/packages/2amigos-yii2-usuario)[lowbase/yii2-user

Yii2 user module

131.5k2](/packages/lowbase-yii2-user)[budyaga/yii2-users

Module for manage users and their rights with the support of registration through social services and assigned to each user more than one social service.

409.1k](/packages/budyaga-yii2-users)

PHPackages © 2026

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