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

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

cottacush/yii2-user-auth
========================

Custom User Auth Implementation

2.0.0(5y ago)13.3k1[1 issues](https://github.com/CottaCush/yii2-user-auth/issues)1MITPHP

Since Sep 14Pushed 5y ago7 watchersCompare

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

READMEChangelog (3)Dependencies (1)Versions (8)Used By (1)

Yii2 User Auth
==============

[](#yii2-user-auth)

> Custom User Auth Yii2 Extension ported from User Auth Project

[![Latest Version on Packagist](https://camo.githubusercontent.com/571652c96f40307ce3d7478ceabe16e862409221342eac4a82e57136cc50f1de/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f747461637573682f796969322d757365722d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cottacush/yii2-user-auth)[![Build Status](https://camo.githubusercontent.com/6a604b78a69d0416627b016c23196b611947e28a3548100b2a56ca9ba6d69f10/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f436f747461437573682f796969322d757365722d617574682f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/CottaCush/yii2-user-auth)[![Coverage Status](https://camo.githubusercontent.com/50a010b4377e16e06843a70d9b9110b32c73d1bb04b59d3c3471642f66a5d90f/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f436f747461437573682f796969322d757365722d617574682f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/CottaCush/yii2-user-auth?branch=master)[![Total Downloads](https://camo.githubusercontent.com/febbb28a15687c85d2877962fef55a9c03a45ea686808b363ec9e52688cc73e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f747461637573682f796969322d757365722d617574682e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cottacush/yii2-user-auth)

Features
========

[](#features)

- User registration
- User authentication
- Automatic Password Generation

Install
-------

[](#install)

Via Composer

```
$ composer require cottacush/yii2-user-auth
```

Requirements
------------

[](#requirements)

The following versions of PHP are supported by this version.

- PHP 8.0

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

Usage
-----

[](#usage)

```
 APPLICATION_ENV=development ./yii migrate install --migrationPath=@vendor/cottacush/yii2-user-auth/migrations
```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Adeyemi Olaoye](https://github.com/yemexx1)
- [Tega Oghenekohwo](https://github.com/tegaphilip)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 87.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.

###  Release Activity

Cadence

Every ~418 days

Total

4

Last Release

1955d ago

Major Versions

1.x-dev → 2.0.02021-02-21

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/18262744?v=4)[Cotta &amp; Cush Limited](/maintainers/cottacush)[@CottaCush](https://github.com/CottaCush)

---

Top Contributors

[![adaugochi](https://avatars.githubusercontent.com/u/43061141?v=4)](https://github.com/adaugochi "adaugochi (7 commits)")[![goke-epapa](https://avatars.githubusercontent.com/u/4976201?v=4)](https://github.com/goke-epapa "goke-epapa (1 commits)")

---

Tags

yii2user-authcottacush

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[yii2mod/yii2-rbac

RBAC management module for Yii2

145362.4k7](/packages/yii2mod-yii2-rbac)[rmrevin/yii2-ulogin

Extension for yii2 ulogin integration

1411.9k](/packages/rmrevin-yii2-ulogin)[kakadu-dev/yii2-jwt-auth

Extension provide JWT auth for Yii2

105.8k](/packages/kakadu-dev-yii2-jwt-auth)

PHPackages © 2026

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