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

ActiveYii2-extension

samkoch/yii2-user
=================

Yii2 user components

0341PHP

Since Jun 1Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 user
=========

[](#yii2-user)

Yii2 user components

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

[](#installation)

It is recommended to use [composer](https://getcomposer.org) to install the library.

```
$ composer require samkoch/yii2-user
$ ./yii migrate/up --migrationPath=@vendor/samkoch/yii2-user/src/migrations
```

Add the following to config/params.php:

```
    'login' => [
        //default true
        //'enableSSO' => true,

        //default false
        'onTheFlyADImport' => true,

        //bound to onTheFlyADImport;
        // default empty, meaning all groups are allowed
        'userGroups' => ['someAdminGroupName' => \samkoch\yii2user\models\User::USERGROUP_ADMIN],
    ],
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 91.7% 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/213d29d5708408719ffd6bf637e1aef6f7933a28c57ef694e7178eccdc67cefe?d=identicon)[samkoch](/maintainers/samkoch)

---

Top Contributors

[![samkoch](https://avatars.githubusercontent.com/u/5182129?v=4)](https://github.com/samkoch "samkoch (22 commits)")[![swissgerman](https://avatars.githubusercontent.com/u/11931728?v=4)](https://github.com/swissgerman "swissgerman (2 commits)")

### Embed Badge

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

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

PHPackages © 2026

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