PHPackages                             evopixel/socialiteproviders-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. evopixel/socialiteproviders-discord

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

evopixel/socialiteproviders-discord
===================================

This is a fork of socialproviders/discord module

1.1.1(1y ago)04MITPHPPHP ^7.4 || ^8.0

Since Oct 21Pushed 1y agoCompare

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

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

Discord
=======

[](#discord)

This is a fork of socialiteproviders/discord module

```
composer require evopixel/socialiteproviders-discord
```

Installation &amp; Basic Usage
------------------------------

[](#installation--basic-usage)

Please see the [Base Installation Guide](https://socialiteproviders.com/usage/), then follow the provider specific instructions below.

### Add configuration to `config/services.php`

[](#add-configuration-to-configservicesphp)

```
'discord' => [
  'client_id' => env('DISCORD_CLIENT_ID'),
  'client_secret' => env('DISCORD_CLIENT_SECRET'),
  'redirect' => env('DISCORD_REDIRECT_URI'),

  // optional
  'allow_gif_avatars' => (bool)env('DISCORD_AVATAR_GIF', true),
  'avatar_default_extension' => env('DISCORD_EXTENSION_DEFAULT', 'png'), // only pick from jpg, png, webp
],
```

### Add provider event listener

[](#add-provider-event-listener)

Configure the package's listener to listen for `SocialiteWasCalled` events.

Add the event to your `listen[]` array in `app/Providers/EventServiceProvider`. See the [Base Installation Guide](https://socialiteproviders.com/usage/) for detailed instructions.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        // ... other providers
        \SocialiteProviders\Discord\DiscordExtendSocialite::class.'@handle',
    ],
];
```

### Usage

[](#usage)

You should now be able to use the provider like you would regularly use Socialite (assuming you have the facade installed):

```
return Socialite::driver('discord')->redirect();
```

### Returned User fields

[](#returned-user-fields)

- `id`
- `username`
- `name`
- `email`
- `avatar`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

569d ago

### Community

Maintainers

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

---

Top Contributors

[![dfxphoenix](https://avatars.githubusercontent.com/u/42915865?v=4)](https://github.com/dfxphoenix "dfxphoenix (1 commits)")

---

Tags

laravelprovideroauthsocialitediscord

### Embed Badge

![Health badge](/badges/evopixel-socialiteproviders-discord/health.svg)

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

###  Alternatives

[socialiteproviders/discord

Discord OAuth2 Provider for Laravel Socialite

422.0M17](/packages/socialiteproviders-discord)[socialiteproviders/microsoft

Microsoft OAuth2 Provider for Laravel Socialite

326.1M13](/packages/socialiteproviders-microsoft)[socialiteproviders/instagram

Instagram OAuth2 Provider for Laravel Socialite

421.9M5](/packages/socialiteproviders-instagram)[kovah/laravel-socialite-oidc

OpenID Connect OAuth2 Provider for Laravel Socialite

2073.7k](/packages/kovah-laravel-socialite-oidc)[socialiteproviders/kakao

Kakao OAuth2 Provider for Laravel Socialite

10484.7k4](/packages/socialiteproviders-kakao)

PHPackages © 2026

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