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

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

thienhungho/yii2-user-management
================================

Yii2 User Management

v1.2.1(7y ago)21181[1 issues](https://github.com/thienhungho/yii2-user-management/issues)1BSD-3-ClausePHP

Since Nov 2Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (23)Used By (1)

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

[](#yii2-user-management-system)

User Management System for Yii2

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

[](#installation)

This is just an example, memorible moment. The source code may not work for known reasons. This source code include against loss license feature.

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

Either run

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

```

or add

```
"thienhungho/yii2-user-management": "*"

```

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

### Migration

[](#migration)

Run the following command in Terminal for database migration:

```
yii migrate/up --migrationPath=@vendor/thienhungho/UserManagement/migrations

```

Or use the [namespaced migration](http://www.yiiframework.com/doc-2.0/guide-db-migrations.html#namespaced-migrations) (requires at least Yii 2.0.10):

```
// Add namespace to console config:
'controllerMap' => [
    'migrate' => [
        'class' => 'yii\console\controllers\MigrateController',
        'migrationNamespaces' => [
            'thienhungho\UserManagement\migrations\namespaced',
        ],
    ],
],
```

Then run:

```
yii migrate/up

```

Config
------

[](#config)

Add components user to your `AppConfig` file.

```
...
'components'          => [
    ...
    'user' => [
        'identityClass' => '\thienhungho\UserManagement\models\User',
    ],
    ...
],
...
```

Add module UserManage to your `AppConfig` file.

```
...
'modules'          => [
    ...
    'user-manage' => [
        'class' => '\thienhungho\UserManagement\modules\UserManage\UserManage',
    ],
    ...
],
...
```

Add module UserProfile to your `AppConfig` file.

```
...
'modules'          => [
    ...
    'user-profile' => [
        'class' => '\thienhungho\UserManagement\modules\UserProfile\UserProfile',
        'layout' => '@backend/views/layouts/main2',
    ],
    ...
],
...
```

Models
------

[](#models)

[User](https://github.com/thienhungho/yii2-user-management/blob/master/docs/models/User.php)

Modules
-------

[](#modules)

[UserBase](https://github.com/thienhungho/yii2-user-management/tree/master/src/modules/UserBase), [UserManage](https://github.com/thienhungho/yii2-user-management/tree/master/src/modules/UserManage), [UserProfile](https://github.com/thienhungho/yii2-user-management/tree/master/src/modules/UserProfile), [UserSetting](https://github.com/thienhungho/yii2-user-management/tree/master/src/modules/UserSetting)

Functions
---------

[](#functions)

[Core](https://github.com/thienhungho/yii2-user-management/tree/master/src/functions/core.php)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity71

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

Total

22

Last Release

2555d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a902ad5670f1b17aed996a5c0f83586bc6ea48bcf1cf71d07fd9f660fd0a2a48?d=identicon)[thienhungho](/maintainers/thienhungho)

---

Top Contributors

[![thienhungho](https://avatars.githubusercontent.com/u/33386206?v=4)](https://github.com/thienhungho "thienhungho (31 commits)")

---

Tags

useryii2extensionmanagement

### Embed Badge

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

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

###  Alternatives

[lowbase/yii2-user

Yii2 user module

131.5k2](/packages/lowbase-yii2-user)[kakadu-dev/yii2-jwt-auth

Extension provide JWT auth for Yii2

105.8k](/packages/kakadu-dev-yii2-jwt-auth)

PHPackages © 2026

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