PHPackages                             mishamx/yii-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. mishamx/yii-user

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

mishamx/yii-user
================

Yii PHP Framework extension for registration and management users accounts.

186198151[13 issues](https://github.com/mishamx/yii-user/issues)[17 PRs](https://github.com/mishamx/yii-user/pulls)PHP

Since Apr 24Pushed 9y ago35 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii-User Installation
=====================

[](#yii-user-installation)

Download
--------

[](#download)

Download or checkout (SVN/Git) from  and unpack files in your protected/modules/user

Git clone
---------

[](#git-clone)

```
clone git git@github.com:mishamx/yii-user.git

```

Configure
---------

[](#configure)

Change your config main:

```
return array(
    #...
    // autoloading model and component classes
    'import'=>array(
        'application.models.*',
        'application.components.*',
        'application.modules.user.models.*',
        'application.modules.user.components.*',
    ),

    #...
    'modules'=>array(
        #...
        'user'=>array(
            # encrypting method (php hash function)
            'hash' => 'md5',

            # send activation email
            'sendActivationMail' => true,

            # allow access for non-activated users
            'loginNotActiv' => false,

            # activate user on registration (only sendActivationMail = false)
            'activeAfterRegister' => false,

            # automatically login from registration
            'autoLogin' => true,

            # registration path
            'registrationUrl' => array('/user/registration'),

            # recovery password path
            'recoveryUrl' => array('/user/recovery'),

            # login form path
            'loginUrl' => array('/user/login'),

            # page after login
            'returnUrl' => array('/user/profile'),

            # page after logout
            'returnLogoutUrl' => array('/user/login'),
        ),
        #...
    ),

    #...
    // application components
    'components'=>array(
    #...
        'db'=>array(
        #...
            'tablePrefix' => 'tbl_',
        #...
        ),
        #...
        'user'=>array(
            // enable cookie-based authentication
            'class' => 'WebUser',
        ),
    #...
    ),
    #...
);

```

Change your config console:

```
return array(
    #...
    'modules'=>array(
        #...
        'user'=>array(
            # encrypting method (php hash function)
            'hash' => 'md5',

            # send activation email
            'sendActivationMail' => true,

            # allow access for non-activated users
            'loginNotActiv' => false,

            # activate user on registration (only sendActivationMail = false)
            'activeAfterRegister' => false,

            # automatically login from registration
            'autoLogin' => true,

            # registration path
            'registrationUrl' => array('/user/registration'),

            # recovery password path
            'recoveryUrl' => array('/user/recovery'),

            # login form path
            'loginUrl' => array('/user/login'),

            # page after login
            'returnUrl' => array('/user/profile'),

            # page after logout
            'returnLogoutUrl' => array('/user/login'),
        ),
        #...
    ),
    #...
);

```

Install
-------

[](#install)

Run command: yiic migrate --migrationPath=user.migrations

Input admin login, email and password

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community32

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.8% 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://avatars.githubusercontent.com/u/878476?v=4)[Mikhail Mangushev](/maintainers/mishamx)[@mishamx](https://github.com/mishamx)

---

Top Contributors

[![mishamx](https://avatars.githubusercontent.com/u/878476?v=4)](https://github.com/mishamx "mishamx (119 commits)")[![crawlerv](https://avatars.githubusercontent.com/u/4136274?v=4)](https://github.com/crawlerv "crawlerv (7 commits)")[![masiorama](https://avatars.githubusercontent.com/u/731916?v=4)](https://github.com/masiorama "masiorama (3 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (3 commits)")[![rmenor](https://avatars.githubusercontent.com/u/531622?v=4)](https://github.com/rmenor "rmenor (2 commits)")[![chris68](https://avatars.githubusercontent.com/u/1455561?v=4)](https://github.com/chris68 "chris68 (2 commits)")[![jfgaviria](https://avatars.githubusercontent.com/u/3501829?v=4)](https://github.com/jfgaviria "jfgaviria (2 commits)")[![ametad](https://avatars.githubusercontent.com/u/1582541?v=4)](https://github.com/ametad "ametad (2 commits)")[![kirill-dubelevich](https://avatars.githubusercontent.com/u/485340?v=4)](https://github.com/kirill-dubelevich "kirill-dubelevich (2 commits)")[![RdeWilde](https://avatars.githubusercontent.com/u/184016?v=4)](https://github.com/RdeWilde "RdeWilde (2 commits)")[![rsmokov](https://avatars.githubusercontent.com/u/8426125?v=4)](https://github.com/rsmokov "rsmokov (1 commits)")[![josiasmontag](https://avatars.githubusercontent.com/u/1945577?v=4)](https://github.com/josiasmontag "josiasmontag (1 commits)")[![chalist](https://avatars.githubusercontent.com/u/1072154?v=4)](https://github.com/chalist "chalist (1 commits)")[![daris](https://avatars.githubusercontent.com/u/183948?v=4)](https://github.com/daris "daris (1 commits)")[![hastenax](https://avatars.githubusercontent.com/u/1911734?v=4)](https://github.com/hastenax "hastenax (1 commits)")[![igorsantos07](https://avatars.githubusercontent.com/u/532299?v=4)](https://github.com/igorsantos07 "igorsantos07 (1 commits)")[![infoitservit](https://avatars.githubusercontent.com/u/3064689?v=4)](https://github.com/infoitservit "infoitservit (1 commits)")[![Alan01252](https://avatars.githubusercontent.com/u/112859?v=4)](https://github.com/Alan01252 "Alan01252 (1 commits)")[![marsuboss](https://avatars.githubusercontent.com/u/5856?v=4)](https://github.com/marsuboss "marsuboss (1 commits)")[![Nayjest](https://avatars.githubusercontent.com/u/153999?v=4)](https://github.com/Nayjest "Nayjest (1 commits)")

### Embed Badge

![Health badge](/badges/mishamx-yii-user/health.svg)

```
[![Health](https://phpackages.com/badges/mishamx-yii-user/health.svg)](https://phpackages.com/packages/mishamx-yii-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)
