PHPackages                             dreamerivercn/oauth2-flarum - 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. dreamerivercn/oauth2-flarum

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

dreamerivercn/oauth2-flarum
===========================

Dreameriver.cn OAuth2登录插件，允许用户使用Dreameriver.cn账户登录Flarum论坛

09PHP

Since Sep 20Pushed 7mo agoCompare

[ Source](https://github.com/YuxiangWang0525/dreamerivercn-oauth2-flarum)[ Packagist](https://packagist.org/packages/dreamerivercn/oauth2-flarum)[ RSS](/packages/dreamerivercn-oauth2-flarum/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Dreameriver.cn OAuth2 for Flarum
================================

[](#dreamerivercn-oauth2-for-flarum)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/dreamerivercn/flarum-oauth2/blob/main/LICENSE)

Dreameriver.cn OAuth2登录插件，允许用户使用Dreameriver.cn账户登录Flarum论坛。

安装
--

[](#安装)

使用 [Composer](https://getcomposer.org/) 安装:

```
composer require dreamerivercn/oauth2-flarum
```

配置
--

[](#配置)

1. 进入Flarum管理后台
2. 启用"Dreameriver.cn OAuth2登录"插件
3. 点击插件设置按钮
4. 输入从Dreameriver.cn通行证获取的客户端ID和客户端密钥
5. 保存设置

使用
--

[](#使用)

启用并配置插件后，用户可以在登录和注册页面看到"使用Dreameriver.cn通行证登录"按钮。点击该按钮将重定向到Dreameriver.cn通行证进行身份验证。

技术细节
----

[](#技术细节)

- 基于OAuth2标准协议实现
- 使用`https://auth.dreameriver.cn`作为认证服务器地址
- 支持中英文界面

支持
--

[](#支持)

如有问题，请联系  或在GitHub上提交issue。

许可证
---

[](#许可证)

MIT许可证。详情请见 [LICENSE](LICENSE) 文件。

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance44

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

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/d989cfec8bbe14c2948006fe98cd1f51afce75563e7a042b68642d6e74b5a39b?d=identicon)[YuxiangWang\_0525](/maintainers/YuxiangWang_0525)

---

Top Contributors

[![YuxiangWang0525](https://avatars.githubusercontent.com/u/66881174?v=4)](https://github.com/YuxiangWang0525 "YuxiangWang0525 (11 commits)")

### Embed Badge

![Health badge](/badges/dreamerivercn-oauth2-flarum/health.svg)

```
[![Health](https://phpackages.com/badges/dreamerivercn-oauth2-flarum/health.svg)](https://phpackages.com/packages/dreamerivercn-oauth2-flarum)
```

###  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)
