PHPackages                             wangrunxinyes/yii2-wrx-oauth2-client - 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. wangrunxinyes/yii2-wrx-oauth2-client

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

wangrunxinyes/yii2-wrx-oauth2-client
====================================

Yii2 OAuth Client For wangrunxin.com.

1.0.1.x-dev(6y ago)025MITPHPPHP &gt;=5.4

Since Oct 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wangrunxinyes/yii2-wrx-oauth2-client)[ Packagist](https://packagist.org/packages/wangrunxinyes/yii2-wrx-oauth2-client)[ RSS](/packages/wangrunxinyes-yii2-wrx-oauth2-client/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

WRX OAuth Client 3.3 For WANGRUNXIN.COM
=======================================

[](#wrx-oauth-client-33-for-wangrunxincom)

A wrapper for implementing an OAuth2 Server()

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist wangrunxinyes/yii2-wrx-oauth2-client "*"

```

or add

```
"wangrunxinyes/yii2-wrx-oauth2-client": "*"
```

to the require section of your composer.json.

To use this extension, simply add the following code in your application configuration as a new module:

```
'modules'=>[
        //other modules .....
        'wrx'  => [
            'class' => 'wangrunxinyes\OAuth\Module',
            'controllerMap' => [
               //Overwrite OauthController and handle AuthSccuess for your own project;
               //Your OauthController should extend wangrunxinyes\OAuth\controllers\OauthController.
               'oauth' => 'Your own OauthController className',
            ],
            'mixKey' => 'Your random code',
        ],
],
'components' => [
        //other components .....
        'authClientCollection' => [
            'class' => yii\authclient\Collection::class,
                'clients' => [
                    'wrxauth' => [
                         'class' => wangrunxinyes\OAuth\models\Client::class,
                         'clientId' => 'Your client_id',
                         'clientSecret' => 'Your client_secret',
                         'scope' => '',
                    ],
                ],
            ],
        ],
],
```

The next step your shold run migration

```
yii migrate --migrationPath=@vendor/wangrunxinyes/yii2-wrx-oauth2-client/migrations
```

For more, see

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

2441d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1cf057c48c552ae99a41792b1df6704e1a5348a181c5b2098087face419e38d0?d=identicon)[wangrunxinyes](/maintainers/wangrunxinyes)

---

Top Contributors

[![wangrunxinyes](https://avatars.githubusercontent.com/u/10919227?v=4)](https://github.com/wangrunxinyes "wangrunxinyes (23 commits)")

---

Tags

oauth2-client

### Embed Badge

![Health badge](/badges/wangrunxinyes-yii2-wrx-oauth2-client/health.svg)

```
[![Health](https://phpackages.com/badges/wangrunxinyes-yii2-wrx-oauth2-client/health.svg)](https://phpackages.com/packages/wangrunxinyes-yii2-wrx-oauth2-client)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k147.0M278](/packages/league-oauth2-server)[craftcms/cms

Craft CMS

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

Yii2 user module

131.5k2](/packages/lowbase-yii2-user)

PHPackages © 2026

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