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

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

edmundspriede/yii-user
======================

User management module

0.9.6(10y ago)07MITPHP

Since Nov 29Pushed 9y ago2 watchersCompare

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

READMEChangelogDependencies (9)Versions (20)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,

            # guests allow register
            'allowGuestRegister' => true,

            # show user list
            'showUserList' => true,

            # alow to user edit self profile
            'allowUserEditProfile' => 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

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~109 days

Total

18

Last Release

3743d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/542187ba859514d10d0952dca77df8ea889a9651b249d0b5b513da791fd2919b?d=identicon)[uldisn](/maintainers/uldisn)

---

Top Contributors

[![mishamx](https://avatars.githubusercontent.com/u/878476?v=4)](https://github.com/mishamx "mishamx (91 commits)")[![uldisn](https://avatars.githubusercontent.com/u/3525344?v=4)](https://github.com/uldisn "uldisn (55 commits)")[![ivarsju](https://avatars.githubusercontent.com/u/4513623?v=4)](https://github.com/ivarsju "ivarsju (17 commits)")[![edmundspriede](https://avatars.githubusercontent.com/u/5557888?v=4)](https://github.com/edmundspriede "edmundspriede (16 commits)")[![schmunk42](https://avatars.githubusercontent.com/u/649031?v=4)](https://github.com/schmunk42 "schmunk42 (9 commits)")[![ametad](https://avatars.githubusercontent.com/u/1582541?v=4)](https://github.com/ametad "ametad (2 commits)")[![jfgaviria](https://avatars.githubusercontent.com/u/3501829?v=4)](https://github.com/jfgaviria "jfgaviria (2 commits)")[![kirill-dubelevich](https://avatars.githubusercontent.com/u/485340?v=4)](https://github.com/kirill-dubelevich "kirill-dubelevich (2 commits)")[![rmenor](https://avatars.githubusercontent.com/u/531622?v=4)](https://github.com/rmenor "rmenor (2 commits)")[![jmalinens](https://avatars.githubusercontent.com/u/569039?v=4)](https://github.com/jmalinens "jmalinens (1 commits)")[![damiandennis](https://avatars.githubusercontent.com/u/1276622?v=4)](https://github.com/damiandennis "damiandennis (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)")[![Alan01252](https://avatars.githubusercontent.com/u/112859?v=4)](https://github.com/Alan01252 "Alan01252 (1 commits)")[![josiasmontag](https://avatars.githubusercontent.com/u/1945577?v=4)](https://github.com/josiasmontag "josiasmontag (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)")

---

Tags

yii2User managementdektriumyii2-user

### Embed Badge

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

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

###  Alternatives

[dektrium/yii2-user

Flexible user registration and authentication module for Yii2

911807.7k38](/packages/dektrium-yii2-user)

PHPackages © 2026

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