PHPackages                             riclep/social-login - 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. riclep/social-login

ActiveLibrary

riclep/social-login
===================

An implementation of Laravel Socialite. Initially built for Laravel Spark

1.0.2(7y ago)6203MITPHP

Since Jun 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/RicLeP/social-login)[ Packagist](https://packagist.org/packages/riclep/social-login)[ RSS](/packages/riclep-social-login/feed)WikiDiscussions master Synced today

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

Social login using Laravel Socialite
------------------------------------

[](#social-login-using-laravel-socialite)

This package implements Laravel Socialite.

When authenticating a user it will first check for existing `Users` with the same email address as used by the social network. If found it will attach the `SocialAccount` to the `User`. Multiple `SocialAccount` accounts from different providers can be attached to a single `User`.

If no `User` is found then a new one will be created. Rather than allow null passwords we generate a 100 character random string.

Setup
-----

[](#setup)

The package uses Laravel package auto discovery.

Add the social network credentials to your Laravel config/services.php file.

```
'facebook' => [
	'client_id' => env('FACEBOOK_CLIENT_ID'),
	'client_secret' => env('FACEBOOK_CLIENT_SECRET'),
	'redirect' => env('FACEBOOK_REDIRECT'),
],

'twitter' => [
	'client_id' => env('TWITTER_CLIENT_ID'),
	'client_secret' => env('TWITTER_CLIENT_SECRET'),
	'redirect' => env('TWITTER_REDIRECT'),
],
```

Add the social links to your views.

```
Facebook Login
Twitter Login
```

See

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

3

Last Release

2890d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc0947c5075928ca6160ab3c81f608db980edaefafd50fd904d060ba5c40817?d=identicon)[ric@sirric.co.uk](/maintainers/ric@sirric.co.uk)

---

Tags

laravelfacebookgithubtwitterlaravel socialitesparkSocial Loginlaravel spark

### Embed Badge

![Health badge](/badges/riclep-social-login/health.svg)

```
[![Health](https://phpackages.com/badges/riclep-social-login/health.svg)](https://phpackages.com/packages/riclep-social-login)
```

###  Alternatives

[schedula/laravel-passport-socialite

The missing laravel passport feature for social authentication

4922.6k](/packages/schedula-laravel-passport-socialite)[org_heigl/hybridauth

Lightweight Authentication Module for Zend-Framework 2 using the hybridauth-library

211.9k](/packages/org-heigl-hybridauth)[marshmallow/laravel-facebook-webhook

A package to retrieve Facebook Leads with webhooks &amp; Graph API in Laravel.

123.2k](/packages/marshmallow-laravel-facebook-webhook)

PHPackages © 2026

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