# OAuth 2.0 Client

PHP library that provides a base for connecting an application to OAuth 2.0 service providers.


Source: https://findsoftware.frbit.cloud/oauth2-client/
Last reviewed: 2026-11-16
Listed since: 2026-11-16

## Record

### Links

- home: https://oauth2-client.thephpleague.com/
- repository: https://github.com/thephpleague/oauth2-client
- docs: https://oauth2-client.thephpleague.com/usage/
- plugins: https://oauth2-client.thephpleague.com/providers/league/

### Identity

- status: active
- maintainer: Alex Bilbie
- maintainerType: unknown
- parent: unknown
- firstRelease: 2013
- hqCountry: unknown

### Kind

- category: auth
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 7.1
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: unknown
- renderingModes: not applicable
- installMethod: composer

### License

- licenseModel: open-source
- license: MIT

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-09-16

### Adoption

- githubStargazers: 3819
- packagistDownloads: 148868867
- npmWeeklyDownloads: not applicable
- contributors: 201
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 4119
- dependentPackages: 1064

### Sources

- urls: https://oauth2-client.thephpleague.com/ (read 2026-11-16)
- urls: https://api.github.com/repos/thephpleague/oauth2-client (read 2026-11-16)
- urls: https://github.com/thephpleague/oauth2-client/blob/master/README.md (read 2026-11-16)
- category: https://github.com/thephpleague/oauth2-client/blob/master/README.md (read 2026-11-16)
- language: https://api.github.com/repos/thephpleague/oauth2-client (read 2026-11-16)
- runtime: https://github.com/thephpleague/oauth2-client/blob/2.9.1/composer.json (read 2026-11-16)
- runtimeMin: https://github.com/thephpleague/oauth2-client/blob/2.9.1/composer.json (read 2026-11-16)
- installMethod: https://oauth2-client.thephpleague.com/ (read 2026-11-16)
- maintainer: https://github.com/thephpleague/oauth2-client/blob/master/LICENSE (read 2026-11-16)
- firstRelease: https://api.github.com/repos/thephpleague/oauth2-client/commits/0.1.0 (read 2026-11-16)
- license: https://api.github.com/repos/thephpleague/oauth2-client (read 2026-11-16)
- licenseModel: https://github.com/thephpleague/oauth2-client/blob/master/LICENSE (read 2026-11-16)
- currentMajor: https://api.github.com/repos/thephpleague/oauth2-client/releases (read 2026-11-16)
- latestReleaseDate: https://api.github.com/repos/thephpleague/oauth2-client/releases (read 2026-11-16)
- githubStargazers: https://api.github.com/repos/thephpleague/oauth2-client (read 2026-11-16)
- contributors: https://api.github.com/repos/thephpleague/oauth2-client/contributors?per_page=1 (read 2026-11-16)
- packagistDownloads: https://packagist.org/packages/league/oauth2-client.json (read 2026-11-16)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/league%2Foauth2-client (read 2026-11-16)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/packagist.org/packages/league%2Foauth2-client (read 2026-11-16)
- urls: https://github.com/thephpleague/oauth2-client/blob/master/README.md (read 2026-11-16)

## Notes

oauth2-client is a PHP library that gives an application a base for connecting to OAuth 2.0 service providers. Its GenericProvider class works with any provider that issues Bearer tokens. Provider-specific clients for services such as Facebook, GitHub, Google, Instagram and LinkedIn are separate packages, and the project lists official and third-party ones on its site.

The package is installed with Composer. The homepage says the base package is required directly only to use the GenericProvider; a provider client is required on its own.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
