PHPackages                             shreenu/yii2-usermanagement - 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. shreenu/yii2-usermanagement

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

shreenu/yii2-usermanagement
===========================

yii2 user management

05PHP

Since Jan 2Pushed 10y ago1 watchersCompare

[ Source](https://github.com/shreenu/yii2-usermanagement)[ Packagist](https://packagist.org/packages/shreenu/yii2-usermanagement)[ RSS](/packages/shreenu-yii2-usermanagement/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 User Management
====================

[](#yii2-user-management)

Yii2 User Management

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

[](#installation)

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

Either run

```
composer require shreenu/yii2-usermanagement

```

or add

```
"shreenu/yii2-usermanagement": "*"

```

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

and run

```
composer update

```

Usage
-----

[](#usage)

change your configuration file.

```
'components' => [
    'user'=> [
                'identityClass' => \shreenu\usermanagement\models\User::className(),
                'enableAutoLogin' => true,
    ],
]

```

```
'modules'=> [
    'usermanagement'=>[
        'class' => \shreenu\usermanagement\usermanagementModule::className(),
    ],
],

```

Login and Logout URLs:
----------------------

[](#login-and-logout-urls)

Change your menu code

```
Yii::$app->user->isGuest ?
['label' => 'Login', 'url' => ['/usermanagement/user/login']] :
[
    'label' => 'Logout (' . Yii::$app->user->identity->username . ')',
    'url' => ['/usermanagement/user/logout'],
    'linkOptions' => ['data-method' => 'post']
],

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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/3c4b06ad016c224075ad5db8e5c4e9c66d58138800537ebbf3284e3f29389611?d=identicon)[shreenu21](/maintainers/shreenu21)

---

Top Contributors

[![shreenu](https://avatars.githubusercontent.com/u/3098094?v=4)](https://github.com/shreenu "shreenu (7 commits)")

### Embed Badge

![Health badge](/badges/shreenu-yii2-usermanagement/health.svg)

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

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

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

PHPackages © 2026

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