PHPackages                             codepotatoltd/socialite-driver - 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. codepotatoltd/socialite-driver

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

codepotatoltd/socialite-driver
==============================

Codepotato OAuth2 Provider for Laravel Socialite

18PHP

Since Aug 26Pushed 9y agoCompare

[ Source](https://github.com/CodepotatoLtd/socialite-driver)[ Packagist](https://packagist.org/packages/codepotatoltd/socialite-driver)[ RSS](/packages/codepotatoltd-socialite-driver/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Codepotato oAuth Provider for Laravel Socialite
===============================================

[](#codepotato-oauth-provider-for-laravel-socialite)

This package provides oAuth support for Codepotato using [laravel/socialite](https://github.com/laravel/socialite)

Contents
--------

[](#contents)

- [Installation](#installation)
- [Testing](#testing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

Require the package using composer

```
composer require codepotatoltd/socialite-driver
```

This package utilises the [Socialite Providers](https://github.com/SocialiteProviders) community project. We must remove the default `laravel/socialite` service provider and use theirs in place.

```
'providers' => [
   ...

   SocialiteProviders\Manager\ServiceProvider::class,

   ...
]
```

Next we need to register the socialite providers we wish to use by adding the event to your `EventServiceProvider`.

```
protected $listen = [
    \SocialiteProviders\Manager\SocialiteWasCalled::class => [
        'Codepotato\Socialite\CodepotatoExtendSocialite@handle',
    ],
];
```

Finally we just need to add our oAuth keys to `config/services.php`

```
'codepotato' => [
    'key' => env('CODEPOTATO_CLIENT_KEY'),
    'secret' => env('CODEPOTATO_CLIENT_SECRET'),
    'redirect' => env('CODEPOTATO_REDIRECT_URI'),
],
```

Testing
-------

[](#testing)

```
$ composer test
```

Credits
-------

[](#credits)

- [iWader](https://github.com/iWader)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/929764c63655d2625433f4a412be6c98998752d8b43a231287439a445746b262?d=identicon)[codepotato](/maintainers/codepotato)

### Embed Badge

![Health badge](/badges/codepotatoltd-socialite-driver/health.svg)

```
[![Health](https://phpackages.com/badges/codepotatoltd-socialite-driver/health.svg)](https://phpackages.com/packages/codepotatoltd-socialite-driver)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M99](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

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

41721.2M117](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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