PHPackages                             vince614/oauth2-discord - 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. vince614/oauth2-discord

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

vince614/oauth2-discord
=======================

OAuth2 provider for Discord API authentication

v1.2(2y ago)120MITPHPPHP &gt;=8.1

Since Jun 10Pushed 2y agoCompare

[ Source](https://github.com/vince614/oauth2-discord)[ Packagist](https://packagist.org/packages/vince614/oauth2-discord)[ RSS](/packages/vince614-oauth2-discord/feed)WikiDiscussions main Synced 1mo ago

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

[![oauth2-discord logo](https://camo.githubusercontent.com/d173a18f093236536e694a0b0bdd4d40e1d5accfd037a64390f6c28f4c8ab54f/687474703a2f2f692e696d6775722e636f6d2f63546a397343612e706e67)](https://camo.githubusercontent.com/d173a18f093236536e694a0b0bdd4d40e1d5accfd037a64390f6c28f4c8ab54f/687474703a2f2f692e696d6775722e636f6d2f63546a397343612e706e67)
============================================================================================================================================================================================================================================================================================================================================================

[](#)

[![Build Status](https://camo.githubusercontent.com/046991c5ddec9adb629ab525f5686c79d0d7494d2a68712851a2f364afd25d2c/68747470733a2f2f7472617669732d63692e6f72672f63686f6e737365722f6f61757468322d646973636f72642e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/chonsser/oauth2-discord)[![Latest Stable Version](https://camo.githubusercontent.com/6df260e9d69dd328d725040d5f80b8a654b5bfa4515df98f71ea22adddf63fea/68747470733a2f2f706f7365722e707567782e6f72672f63686f6e737365722f6f61757468322d646973636f72642f76657273696f6e)](https://packagist.org/packages/chonsser/oauth2-discord)[![Coverage Status](https://camo.githubusercontent.com/97945f40ce1c99b3e6671583cc218f55211514970444ea78826772b410627486/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f63686f6e737365722f6f61757468322d646973636f72642f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/chonsser/oauth2-discord?branch=master)[![License](https://camo.githubusercontent.com/f146039bac871fcf5b65f220b9ff01dd9b6f41d86d859d68cb104fc772eead51/68747470733a2f2f706f7365722e707567782e6f72672f63686f6e737365722f6f61757468322d646973636f72642f6c6963656e7365)](https://packagist.org/packages/chonsser/oauth2-discord)[![Total Downloads](https://camo.githubusercontent.com/a34b3c97ba1d67b0ce4690f9e4098755dab417744c9e95daa387e4c977e3d7e3/68747470733a2f2f706f7365722e707567782e6f72672f63686f6e737365722f6f61757468322d646973636f72642f646f776e6c6f616473)](https://packagist.org/packages/chonsser/oauth2-discord)[![SensioLabsInsight](https://camo.githubusercontent.com/50b609f1cc705303128540e36717bb753ed9d13956157facc5d37d9fdf7f7fde/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f37323438623062612d613136612d343433362d396166652d3937313664363464363262392f6d696e692e706e67)](https://insight.sensiolabs.com/projects/7248b0ba-a16a-4436-9afe-9716d64d62b9)

Provides [Discord](https://discordapp.com/) OAuth 2.0 support for PHP League's [OAuth 2.0 client](https://github.com/thephpleague/oauth2-client). Fully compliant with the [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md) &amp; [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) and the [PHP7 features](http://php.net/manual/en/migration70.new-features.php).

Used in applications using Discord's OAuth 2.0 authorization (such as [DiscordList.io](https://discordlist.io)).

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

[](#installation)

To install, use composer

```
composer require chonsser/oauth2-discord

```

[![DLM logo](https://camo.githubusercontent.com/4d21cfb68205262649ca4a46a245b14d1b6dd3f092be4164b42ac7ca6ddadc90/687474703a2f2f692e696d6775722e636f6d2f6a313074637a6e2e706e67)](https://discordlist.io)

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 74.5% 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 ~208 days

Recently: every ~570 days

Total

12

Last Release

973d ago

PHP version history (3 changes)1.0PHP &gt;=7.0

1.0.10PHP &gt;=7.1

v1.2PHP &gt;=8.1

### Community

Maintainers

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

---

Top Contributors

[![chonsser](https://avatars.githubusercontent.com/u/10325355?v=4)](https://github.com/chonsser "chonsser (41 commits)")[![vince614](https://avatars.githubusercontent.com/u/19193995?v=4)](https://github.com/vince614 "vince614 (8 commits)")[![piotrmacha](https://avatars.githubusercontent.com/u/979865?v=4)](https://github.com/piotrmacha "piotrmacha (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vince614-oauth2-discord/health.svg)

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

###  Alternatives

[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[knpuniversity/oauth2-client-bundle

Integration with league/oauth2-client to provide services

83416.7M61](/packages/knpuniversity-oauth2-client-bundle)[thenetworg/oauth2-azure

Azure Active Directory OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2509.6M48](/packages/thenetworg-oauth2-azure)[stevenmaguire/oauth2-keycloak

Keycloak OAuth 2.0 Client Provider for The PHP League OAuth2-Client

2275.9M27](/packages/stevenmaguire-oauth2-keycloak)[patrickbussmann/oauth2-apple

Sign in with Apple OAuth 2.0 Client Provider for The PHP League OAuth2-Client

1132.5M6](/packages/patrickbussmann-oauth2-apple)[microsoft/kiota-authentication-phpleague

Authentication provider for Kiota using the PHP League OAuth 2.0 client to authenticate against the Microsoft Identity platform

153.2M7](/packages/microsoft-kiota-authentication-phpleague)

PHPackages © 2026

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