FindSoftware

OAuth 2.0 Server

PHP library that implements an OAuth 2.0 authorization server, issuing and checking access tokens for an API.

oauth2-server is a PHP library that implements an OAuth 2.0 authorization server. It lets an application issue access tokens to clients, lets an API check them, and supports the authorization code, client credentials, device authorization, implicit, refresh and resource owner password credentials grants. The README names RFCs 6749, 6750, 7519, 7636 and 8628 as the specifications it implements.

The package is installed with Composer and needs the openssl and json PHP extensions. Alex Bilbie created the library. The README credits Andy Millington as its principal developer and maintainer.

Community integrations named in the README include Drupal’s simple_oauth module, Laravel Passport and a Symfony bundle. They sit beside the library in the README, which does not describe them as built on it.

Identity

Status
Active
Maintainer
Alex Bilbie5
First release
20126

Rendering and deploy

Install with
composer3

Releases

Current major version
97
Last release
2026-06-257

Adoption

GitHub stars
6,6762
Packagist downloads
175,235,0849
Contributors
1418
Dependent repositories
19,59410
Dependent packages
24110

Why these figures do not compare

Sources

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

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