# laravel/socialite

Laravel wrapper around OAuth 1 & OAuth 2 libraries.

Repository: https://github.com/laravel/socialite
Canonical: https://ross.abutalabs.com/products/socialite
Homepage: https://laravel.com/docs/socialite
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, oauth
Last push: 2026-08-25T14:41:48+00:00

## Health v2 (maintenance only)
Score: 99/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 99, longevity 100
- inputs: {"age_days": 4398, "days_push": 8, "days_rel": 8, "gap_med": 27, "n_releases_24m": 24}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5745, forks 959 (observed 2026-08-28T04:09:28.458018+00:00)

## What it is
Laravel Socialite is a first-party Laravel package providing a fluent interface for OAuth 1 and OAuth 2 social authentication. It handles the boilerplate for authenticating with providers like GitHub, Google, Facebook, GitLab, Bitbucket, LinkedIn, Slack, Twitch, and X, with community adapters for many more.

## Use cases
- add sign in with GitHub to a Laravel app
- implement Google OAuth login in PHP
- let users authenticate with Facebook or X
- retrieve user details from an OAuth provider after login
- add social login to a Laravel web application

## When to choose
- you are building a Laravel application and need OAuth-based social login
- you want a maintained, well-documented wrapper over OAuth flows
- you need support for the major providers out of the box

## When to avoid
- you are not using the Laravel framework
- you need a provider not covered by official or community adapters
- you need full control over low-level OAuth handshake details

## Facets
- artifact type: library
- maturity: stable
- function: auth
- domain: web-development, backend, security
- platform: php
- tags: oauth, oauth1, oauth2, social-login, laravel-package, laravel

## Member repositories
- laravel/socialite (main) score 99

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:28.458018+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:53:20.144407+00:00, confidence not recorded.
  - readme: https://github.com/laravel/socialite (fetched 2026-08-28T04:09:28.458018+00:00, sha 046d75260b28)
  - homepage: https://laravel.com/docs/socialite (fetched 2026-08-29T08:48:48.603546+00:00, sha db8d76436d3b)
  - site_page: https://laravel.com/framework/docs/releases (fetched 2026-08-29T08:48:48.613561+00:00, sha 0a6f098f16ed)
  - site_page: https://laravel.com/framework/docs/upgrade (fetched 2026-08-29T08:48:48.615663+00:00, sha 95935c17d2b1)
  - site_page: https://laravel.com/framework/docs/contributions (fetched 2026-08-29T08:48:48.617788+00:00, sha 19e94cff1fd0)
  - site_page: https://laravel.com/framework/docs/installation (fetched 2026-08-29T08:48:48.619794+00:00, sha 9a0c1180f7e5)
  - site_page: https://laravel.com/framework/docs/configuration (fetched 2026-08-29T08:48:48.622171+00:00, sha 547e5050a6b0)
  - site_page: https://laravel.com/framework/docs/ai (fetched 2026-08-29T08:48:48.624254+00:00, sha 040e8015d313)
  - site_page: https://laravel.com/framework/docs/structure (fetched 2026-08-29T08:48:48.626007+00:00, sha 52d0376fa1d7)
  - site_page: https://laravel.com/framework/docs/frontend (fetched 2026-08-29T08:48:48.628036+00:00, sha 36f549348513)
- Data as of 2026-08-30T08:39:29.467469+00:00.
