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

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

borysenko/yii2-user-component
=============================

Yii2 User component

v1.1(6y ago)0237PHPPHP &gt;=5.4.0

Since May 18Pushed 6y ago2 watchersCompare

[ Source](https://github.com/borysenko/yii2-user-component)[ Packagist](https://packagist.org/packages/borysenko/yii2-user-component)[ Docs](https://github.com/borysenko/yii2-user-component)[ RSS](/packages/borysenko-yii2-user-component/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

yii2-user-component
===================

[](#yii2-user-component)

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

[](#installation)

```
php composer.phar require --prefer-dist borysenko/yii2-user-component "*"

```

или

```
"borysenko/yii2-user-component": "*"

```

Компонент исправляет баг проверки auth\_key у авторизованных пользователей, когда меняется поле auth\_key в таблице юзеров. При каждом обновлении страницы в браузере запускается валидация свойства auth\_key и если в базе мы при смене пароля или просто поменяли auth\_key то пользователя разлогинет во всех браузерах.

Данная тема обсуждалась тут: [https://www.yiiframework.ru/forum/viewtopic.php?f=19&amp;t=50810](https://www.yiiframework.ru/forum/viewtopic.php?f=19&t=50810)

Подключение и настройка
-----------------------

[](#подключение-и-настройка)

В конфигурационный файл приложения добавить в компонент 'user' -&gt; 'class' =&gt; '\\borysenko\\UserComponent\\components\\User'

```
    'components' => [
        'user' => [
            'class' => '\borysenko\UserComponent\components\User',
            //...
        ],
        //...
    ],
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

2549d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13808269?v=4)[Pavel Borysenko](/maintainers/borysenko)[@borysenko](https://github.com/borysenko)

---

Top Contributors

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

---

Tags

useryii2UserComponent

### Embed Badge

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

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

###  Alternatives

[amnah/yii2-user

Yii 2 user authentication module

252225.7k3](/packages/amnah-yii2-user)[lowbase/yii2-user

Yii2 user module

131.5k2](/packages/lowbase-yii2-user)

PHPackages © 2026

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