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

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

humanized/yii2-user
===================

User Administration Module for Yii2. This module wraps and extends the default user management interface provided by the framework. Several parts of this module however, are designed to be fully compatible with the factory-provided implementations related to user management. For this, several configuration options can be set to override module defaults allowing the use of the factory default or custom classes.

01231PHP

Since Apr 18Pushed 10y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2-User - README
==================

[](#yii2-user---readme)

[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

Provides various interfaces to deal with routine user management tasks.

> This extension is under heavy development and requires the use of Yii framework version 2.0.7 This version of the framework is currently in active development

> This module should be considered highly unstable and it's use is discouraged until further notice (really)

> Version 0.1 Release notes:

Features
--------

[](#features)

This module aims to be a clean, modular and simple user-administration module which can be used for Yii 2 projects version 2.0.7 and up.

A first goal is to wrap the user management functionalities provided by the yii2-advanced template to allow easy porting to other templates, such as the yii2-basic-template. Essentially, this module can functionally achieve the same as provided by the advanced template, with little to no changes made to the interface provided and minor changes to made layout.

Other than providing the stock functionality, a lot has been made configurable:

- Email-based login by default, over storage of a username/email combination;
- Enable/Disable guest signup;
- Graceful handling of (optional) account status codes;

A next goal deals with the implementation of some missing core user account functionality:

- Account Confirmation
- Token Based Authentication
- RBAC Integration

Functionality will be added to this module, as it becomes required for incorporation in further projects. We accept pull-requests!

The following functionality is due expected due in further versions:

- PhpCAS Integration (due version 0.2)
- OAuth Integration (due version 0.3)
- REST API (due version 0.4)

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

[](#installation)

### Install Using Composer

[](#install-using-composer)

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

Either run

```
$ php composer.phar require humanized/yii2-user "dev-master"

```

or add

```
"humanized/yii2-user": "dev-master"

```

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

### Add Module to Configuration

[](#add-module-to-configuration)

Add following lines to the configuration file:

```
'modules' => [
    'user' => [
        'class' => 'humanized\user\Module',
    ],
],
```

For full instructions how to configure this module, check the [CONFIG](CONFIG.md)-file.

### Run Migrations

[](#run-migrations)

```
$ php yii migrate/up --migrationPath=@vendor/humanized/yii2-user/migrations
```

For full instructions on how to use this module, once configured, check the [USAGE](USAGE.md)-file.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.5% 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/1a07fca5b8f6fe268961a6744dbfd2175da8c785f5e26b2edaeb552f9bbcabd2?d=identicon)[jeffrey.geyssens](/maintainers/jeffrey.geyssens)

---

Top Contributors

[![jeffrico](https://avatars.githubusercontent.com/u/3632182?v=4)](https://github.com/jeffrico "jeffrico (137 commits)")[![nurbeknurjanov](https://avatars.githubusercontent.com/u/5306443?v=4)](https://github.com/nurbeknurjanov "nurbeknurjanov (5 commits)")

### Embed Badge

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

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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