PHPackages                             codemix/oauth2yii - 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. codemix/oauth2yii

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

codemix/oauth2yii
=================

An OAuth2 client / server extension for the Yii framework

1713.8k↓11.1%15[2 issues](https://github.com/codemix/oauth2yii/issues)PHP

Since Jul 31Pushed 12y ago7 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

oauth2yii
=========

[](#oauth2yii)

An OAuth2 client / server extension for the Yii framework.

NOTE: PARTS OF THIS EXTENSION ARE STILL INCOMPLETE!!
====================================================

[](#note-parts-of-this-extension-are-still-incomplete)

Missing:

- Support for Authorization Code Grant on client / server

This extension is a wrapper around [OAuth 2.0 Server PHP](http://bshaffer.github.io/oauth2-server-php-docs/)that makes it easy to add OAuth2 authentication to your application.

Note, that before you can start using this extension you need to understand some basics about how OAuth2 works. So we recommend to read the [OAuth2 introduction](docs/oauth2.md) first.

- [OAuth2 Introduction](docs/oauth2.md).
- [Installation](docs/installation.md)
- [How to use an OAuth2 client](docs/client.md)
- [How to use an OAuth2 server](docs/server.md)
- [DB Tables and custom storages](docs/storage.md)

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity36

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 78.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/3acf6b979253030380f45271ce4efc9d5f3a207a96fafe6c92da41876ae33b24?d=identicon)[codemix](/maintainers/codemix)

---

Top Contributors

[![mikehaertl](https://avatars.githubusercontent.com/u/675062?v=4)](https://github.com/mikehaertl "mikehaertl (48 commits)")[![phpnode](https://avatars.githubusercontent.com/u/363611?v=4)](https://github.com/phpnode "phpnode (11 commits)")[![Inxo](https://avatars.githubusercontent.com/u/104202?v=4)](https://github.com/Inxo "Inxo (2 commits)")

### Embed Badge

![Health badge](/badges/codemix-oauth2yii/health.svg)

```
[![Health](https://phpackages.com/badges/codemix-oauth2yii/health.svg)](https://phpackages.com/packages/codemix-oauth2yii)
```

###  Alternatives

[kartik-v/yii2-password

Useful password strength validation utilities for Yii Framework 2.0

761.2M17](/packages/kartik-v-yii2-password)[better-futures-studio/filament-local-logins

This is my package filament-local-logins

1334.6k](/packages/better-futures-studio-filament-local-logins)

PHPackages © 2026

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