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

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

wewelove/yii2-oauth2-server
===========================

扩展实现了 \[bshaffer/oauth2-server-php\](https://github.com/bshaffer/oauth2-server-php) 的全部功能，简单易用。

011

Since Nov 29Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

yii2-oauth2-server
==================

[](#yii2-oauth2-server)

扩展实现了 [bshaffer/oauth2-server-php](https://github.com/bshaffer/oauth2-server-php) 的全部功能，简单易用。

安装
--

[](#安装)

推荐使用 [composer](http://getcomposer.org/download/) 安装：

输入

```
composer require --prefer-dist wewelove/yii2-oauth2-server "*"

```

或

```
"wewelove/yii2-oauth2-server": "1.0.x-dev"
```

设置
--

[](#设置)

应用
--

[](#应用)

参考
--

[](#参考)

- [OAuth 2.0](https://oauth.net/2/)
- [bshaffer/oauth2-server-php](https://github.com/bshaffer/oauth2-server-php)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b891ad770ca46e9d73040a029e027ec0a1b8a2e6ef877edcb57aa6a6457a0087?d=identicon)[wewelove](/maintainers/wewelove)

---

Top Contributors

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

---

Tags

moduleoauth2phpserveryii2

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/wewelove-yii2-oauth2-server/health.svg)](https://phpackages.com/packages/wewelove-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)
