PHPackages                             jc-it/yii2-oauth2-server - 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. jc-it/yii2-oauth2-server

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

jc-it/yii2-oauth2-server
========================

The PHP League OAuth2 Server implementation for Yii2

096PHP

Since Apr 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/JC-IT/yii2-oauth2-server)[ Packagist](https://packagist.org/packages/jc-it/yii2-oauth2-server)[ RSS](/packages/jc-it-yii2-oauth2-server/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

OAuth2 Server module for Yii2
=============================

[](#oauth2-server-module-for-yii2)

This extension provides [The PHP League: OAuth 2.0 Server](https://oauth2.thephpleague.com/) module for the Yii2 Framework.

[The PHP League: OAuth 2.0 Server](https://oauth2.thephpleague.com/) is a package that makes setting up a OAuth2 server easy.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require jc-it/yii2-oauth2-server
```

or add

```
"jc-it/yii2-oauth2-server": "^"

```

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

Configuration
-------------

[](#configuration)

- module config
- user repository config (in DI or module)

Credits
-------

[](#credits)

- [Joey Claessen](https://github.com/joester89)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/88359ebe0456645a614e563dfbf0dd025b69ef57221050cb9eb31e3eef4dd0f9?d=identicon)[joester89](/maintainers/joester89)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jc-it-yii2-oauth2-server/health.svg)

```
[![Health](https://phpackages.com/badges/jc-it-yii2-oauth2-server/health.svg)](https://phpackages.com/packages/jc-it-yii2-oauth2-server)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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