FindSoftware

OAuth 2.0 Client

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

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.

Identity

Status
Active
Maintainer
Alex Bilbie5
First release
20136

Rendering and deploy

Install with
composer1

Releases

Current major version
27
Last release
2026-09-167

Adoption

GitHub stars
3,8192
Packagist downloads
148,868,8679
Contributors
2018
Dependent repositories
4,11910
Dependent packages
1,06410

Why these figures do not compare

Sources

  1. 2026-11-16: links, Install with
    oauth2-client.thephpleague.com/
  2. 2026-11-16: links, Written in, License, GitHub stars
    api.github.com/repos/thephpleague/oauth2-client
  3. 2026-11-16: links, Categories
    github.com/thephpleague/oauth2-client/blob/master/README.md
  4. 2026-11-16: Runtime, Minimum runtime
    github.com/thephpleague/oauth2-client/blob/2.9.1/composer.json
  5. 2026-11-16: Maintainer, License model
    github.com/thephpleague/oauth2-client/blob/master/LICENSE
  6. 2026-11-16: First release
    api.github.com/repos/thephpleague/oauth2-client/commits/0.1.0
  7. 2026-11-16: Current major version, Last release
    api.github.com/repos/thephpleague/oauth2-client/releases
  8. 2026-11-16: Contributors
    api.github.com/repos/thephpleague/oauth2-client/contributors?per_page=1
  9. 2026-11-16: Packagist downloads
    packagist.org/packages/league/oauth2-client.json
  10. 2026-11-16: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/packagist.org/packages/league%2Foauth2-client

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON