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

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

shotbow/yii2-oauth2-client
==========================

Yii2 AuthClient for The Shotbow Network

v1.0.1(10y ago)040MITPHPPHP &gt;=5.4

Since Jul 31Pushed 10y ago1 watchersCompare

[ Source](https://github.com/shotbow/yii2-oauth2-client)[ Packagist](https://packagist.org/packages/shotbow/yii2-oauth2-client)[ RSS](/packages/shotbow-yii2-oauth2-client/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Yii2 AuthClient for The Shotbow Network
=======================================

[](#yii2-authclient-for-the-shotbow-network)

This project creates an OAuth 2 client for Yii2's AuthClient system. It will be kept up to date with Shotbow's OAuth2 requirements.

Requirements
------------

[](#requirements)

- PHP 5.4 or greater
- Yii 2
- Composer

How to use
----------

[](#how-to-use)

- `composer require shotbow/yii2-oauth2-client`
- Add the following to your Yii2 `components` configuration:

```
    'authClientCollection' => [
        'class' => yii\authclient\Collection::class,
        'clients' => [
            'shotbow' => [
                'class' => Shotbow\Auth\Client::class,
                'clientId' => 'SHOTBOW CLIENT ID',
                'clientSecret' => 'SHOTBOW CLIENT SECRET',
                'scope' => 'SHOTBOW REQUESTED SCOPES',
            ],
        ],
    ],

```

- In the controller you wish to add this to, [add the AuthAction as described in the Yii2 Guide](http://www.yiiframework.com/doc-2.0/yii-authclient-authaction.html)

That's it! The rest is up to you, the developer!

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~265 days

Total

2

Last Release

3724d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24959115e049fb1d71612462e9106b345b3e0e6126439493514018cd440e8937?d=identicon)[navarr](/maintainers/navarr)

---

Top Contributors

[![navarr](https://avatars.githubusercontent.com/u/145128?v=4)](https://github.com/navarr "navarr (9 commits)")

### Embed Badge

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

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

###  Alternatives

[dektrium/yii2-user

Flexible user registration and authentication module for Yii2

928815.9k38](/packages/dektrium-yii2-user)[2amigos/yii2-usuario

Highly customizable and extensible user management, authentication, and authorization Yii2 extension

297285.0k16](/packages/2amigos-yii2-usuario)[amnah/yii2-user

Yii 2 user authentication module

257232.4k3](/packages/amnah-yii2-user)[xj/yii2-oauth

yii2-oauth

10828.4k1](/packages/xj-yii2-oauth)[kotchuprik/yii2-instagram-authclient

Instagram extenion for using via yii2-authclient

2050.7k](/packages/kotchuprik-yii2-instagram-authclient)[kotchuprik/yii2-odnoklassniki-authclient

1395.0k](/packages/kotchuprik-yii2-odnoklassniki-authclient)

PHPackages © 2026

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