# OAuth 2.0 Server

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


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

## Record

### Links

- home: https://oauth2.thephpleague.com/
- repository: https://github.com/thephpleague/oauth2-server
- docs: https://oauth2.thephpleague.com/

### Identity

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

### Kind

- category: auth
- hosting: php
- language: php
- runtime: php
- runtimeMin: php 8.2
- 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: 9
- latestReleaseDate: 2026-06-25

### Adoption

- githubStargazers: 6676
- packagistDownloads: 175235084
- npmWeeklyDownloads: not applicable
- contributors: 141
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 19594
- dependentPackages: 241

### Sources

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

## Notes

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.

---

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
