PHPackages                             pa3py6aka/yii2-discord-authclient - 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. pa3py6aka/yii2-discord-authclient

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

pa3py6aka/yii2-discord-authclient
=================================

Discord OAuth2 for yii2-authclient

1.0(5y ago)1453MITPHP

Since Apr 25Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/all-sav/yii2-discord-authclient)[ Packagist](https://packagist.org/packages/pa3py6aka/yii2-discord-authclient)[ Docs](http://github.com/pa3py6aka/yii2-discord-authclient)[ RSS](/packages/pa3py6aka-yii2-discord-authclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

yii2-discord-authclient
=======================

[](#yii2-discord-authclient)

This extension adds Discord OAuth2 supporting for [yii2-authclient](https://github.com/yiisoft/yii2-authclient).

[![Latest Stable Version](https://camo.githubusercontent.com/39996874ee3e5a05393a113d301227915ffd3e7eb0b0df19a62f095bf84620ec/68747470733a2f2f706f7365722e707567782e6f72672f706133707936616b612f796969322d646973636f72642d61757468636c69656e742f762f737461626c65)](https://packagist.org/packages/pa3py6aka/yii2-discord-authclient)[![Total Downloads](https://camo.githubusercontent.com/7662ac83adeaf8c2954d2933f10bde67181441d5160be044797e815e3ab2958a/68747470733a2f2f706f7365722e707567782e6f72672f706133707936616b612f796969322d646973636f72642d61757468636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/pa3py6aka/yii2-discord-authclient)[![Monthly Downloads](https://camo.githubusercontent.com/d1f6bf37c55d4b1026186f1169c0c6cafd9ca497f3256b621de593f475c6dab1/68747470733a2f2f706f7365722e707567782e6f72672f706133707936616b612f796969322d646973636f72642d61757468636c69656e742f642f6d6f6e74686c79)](https://packagist.org/packages/pa3py6aka/yii2-discord-authclient)[![Latest Unstable Version](https://camo.githubusercontent.com/2add50c3c9f235b73a8f77634ef02b26cc71e299d554620b1f25de8edfedc6cf/68747470733a2f2f706f7365722e707567782e6f72672f706133707936616b612f796969322d646973636f72642d61757468636c69656e742f762f756e737461626c65)](https://packagist.org/packages/pa3py6aka/yii2-discord-authclient)[![License](https://camo.githubusercontent.com/9136667fdae482a0365fcfdc7c5f7a04091e860a72680387a9e45363389d4ee0/68747470733a2f2f706f7365722e707567782e6f72672f706133707936616b612f796969322d646973636f72642d61757468636c69656e742f6c6963656e7365)](https://packagist.org/packages/pa3py6aka/yii2-discord-authclient)

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

[](#installation)

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

Either run

```
composer require pa3py6aka/yii2-discord-authclient "^1.0"

```

or add

```
"pa3py6aka/yii2-discord-authclient": "^1.0"
```

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

Usage
-----

[](#usage)

You must read the yii2-authclient [docs](https://github.com/yiisoft/yii2-authclient/blob/master/docs/guide/README.md)

Register your application [on Discord developer site](https://discord.com/developers/applications#top)

and add the Discord client to your auth clients.

```
'components' => [
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'discord' => [
                'class' => 'pa3py6aka\yii2auth\DiscordClient',
                'clientId' => 'discord_client_id',
                'clientSecret' => 'discord_client_secret',
            ],
            // other clients
        ],
    ],
    // ...
 ]
```

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance57

Moderate activity, may be stable

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

1844d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ee78ceb0ff26357aa649a02eb7ef5983758c7df4ee2ec51f455d6da5e46fe8a?d=identicon)[pa3py6aka](/maintainers/pa3py6aka)

---

Top Contributors

[![all-sav](https://avatars.githubusercontent.com/u/12895355?v=4)](https://github.com/all-sav "all-sav (3 commits)")

---

Tags

oauthyii2discordauthclient

### Embed Badge

![Health badge](/badges/pa3py6aka-yii2-discord-authclient/health.svg)

```
[![Health](https://phpackages.com/badges/pa3py6aka-yii2-discord-authclient/health.svg)](https://phpackages.com/packages/pa3py6aka-yii2-discord-authclient)
```

###  Alternatives

[kotchuprik/yii2-instagram-authclient

Instagram extenion for using via yii2-authclient

2048.5k](/packages/kotchuprik-yii2-instagram-authclient)[budyaga/yii2-users

Module for manage users and their rights with the support of registration through social services and assigned to each user more than one social service.

409.1k](/packages/budyaga-yii2-users)

PHPackages © 2026

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