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

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

maddoger/yii2-cms-user
======================

User module for Yii2 CMS.

v1.0.8(10y ago)025PHP

Since Oct 12Pushed 10y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (3)Versions (10)Used By (0)

Yii2 User module

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist maddoger/yii2-user "*"

```

or add

```
"maddoger/yii2-user": "*"

```

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

\##Migration

```
./yii migrate --migrationPath="@maddoger/user/common/migrations"

```

\##Configuration

```
...
'modules' => [
    ...
    'user' => [
        'class' => 'maddoger\user\backend\Module',
        'guestLayout' => '@maddoger/admin/views/layouts/minimal.php',
        //'sortNumber' => 11
    ],
    ...
],
...

```

\##Components

```
'components' => [
    'urlManager' => [
        'rules' => [
            //User
            '' => 'user/auth/',
            'profile' => 'user/user/profile',
        ]
    ],
    'user' => [
        'identityClass' => 'maddoger\user\common\models\User',
        'loginUrl' => ['user/auth/login'],
        'enableAutoLogin' => true,
        //'on afterLogin'   => ['maddoger\user\common\models\User', 'updateLastVisit'],
        //'on afterLogout'   => ['maddoger\user\common\models\User', 'updateLastVisit'],
    ],
    'session' => [
        'class' => 'yii\web\DbSession',
        'sessionTable' => '{{%user_session}}',
    ],
...
]

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

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 ~2 days

Total

9

Last Release

3887d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/09bde1fb9f0bb0ef7e7b4e6d7d1e346b2c2f1b076bd757ef85722abb37a98000?d=identicon)[maddoger](/maintainers/maddoger)

---

Top Contributors

[![maddoger](https://avatars.githubusercontent.com/u/6214206?v=4)](https://github.com/maddoger "maddoger (24 commits)")

### Embed Badge

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

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

###  Alternatives

[lowbase/yii2-user

Yii2 user module

131.5k2](/packages/lowbase-yii2-user)

PHPackages © 2026

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