PHPackages                             reb3r/oauth2-server-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. reb3r/oauth2-server-php

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

reb3r/oauth2-server-php
=======================

OAuth2 Server for PHP

v1.17.0(1mo ago)162.0k↓32.2%4[2 issues](https://github.com/reb3r/oauth2-server-php/issues)[1 PRs](https://github.com/reb3r/oauth2-server-php/pulls)1MITPHPPHP &gt;=8.2CI failing

Since Oct 24Pushed 3mo agoCompare

[ Source](https://github.com/reb3r/oauth2-server-php)[ Packagist](https://packagist.org/packages/reb3r/oauth2-server-php)[ Docs](http://github.com/bshaffer/oauth2-server-php)[ RSS](/packages/reb3r-oauth2-server-php/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (14)Versions (56)Used By (1)

oauth2-server-php
=================

[](#oauth2-server-php)

[![Test Suite](https://github.com/reb3r/oauth2-server-php/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/reb3r/oauth2-server-php/actions/workflows/tests.yml)

[![Total Downloads](https://camo.githubusercontent.com/08977fb01855bc00844e3f434ed9efa22b61e2ed7c4644d881ef270e4801a330/68747470733a2f2f706f7365722e707567782e6f72672f72656233722f6f61757468322d7365727665722d7068702f646f776e6c6f616473)](https://packagist.org/packages/reb3r/oauth2-server-php)

View the [complete documentation](https://bshaffer.github.io/oauth2-server-php-docs/)

###  Health Score

57

—

FairBetter than 98% of packages

Maintenance65

Regular maintenance activity

Popularity33

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity89

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 70.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~118 days

Recently: every ~130 days

Total

43

Last Release

58d ago

Major Versions

v0.9 → v1.02013-08-12

PHP version history (7 changes)v0.1PHP &gt;=5.2.0

v1.2PHP &gt;=5.3.9

v1.10.1PHP &gt;=7.0.0

v1.13PHP ^7.3|^8.0

v1.15PHP &gt;=7.3

v1.16.9PHP &gt;=8.1

v1.17.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/731902e7010f576ba6b4bf61fc7467470a9957581151ecc2f5bb3b29ade81a59?d=identicon)[reb3r](/maintainers/reb3r)

---

Top Contributors

[![bshaffer](https://avatars.githubusercontent.com/u/103941?v=4)](https://github.com/bshaffer "bshaffer (659 commits)")[![F21](https://avatars.githubusercontent.com/u/2263040?v=4)](https://github.com/F21 "F21 (75 commits)")[![bojanz](https://avatars.githubusercontent.com/u/330162?v=4)](https://github.com/bojanz "bojanz (39 commits)")[![reb3r](https://avatars.githubusercontent.com/u/27731588?v=4)](https://github.com/reb3r "reb3r (35 commits)")[![FYMayr](https://avatars.githubusercontent.com/u/153115151?v=4)](https://github.com/FYMayr "FYMayr (27 commits)")[![fauguste](https://avatars.githubusercontent.com/u/2298302?v=4)](https://github.com/fauguste "fauguste (16 commits)")[![julien-c](https://avatars.githubusercontent.com/u/326577?v=4)](https://github.com/julien-c "julien-c (11 commits)")[![LarsLuz](https://avatars.githubusercontent.com/u/28804130?v=4)](https://github.com/LarsLuz "LarsLuz (9 commits)")[![rjmackay](https://avatars.githubusercontent.com/u/7965?v=4)](https://github.com/rjmackay "rjmackay (6 commits)")[![trickleup](https://avatars.githubusercontent.com/u/3805828?v=4)](https://github.com/trickleup "trickleup (5 commits)")[![dsquier](https://avatars.githubusercontent.com/u/2637892?v=4)](https://github.com/dsquier "dsquier (5 commits)")[![itskingori](https://avatars.githubusercontent.com/u/703786?v=4)](https://github.com/itskingori "itskingori (4 commits)")[![afilippov1985](https://avatars.githubusercontent.com/u/8296937?v=4)](https://github.com/afilippov1985 "afilippov1985 (4 commits)")[![adambutler](https://avatars.githubusercontent.com/u/1238468?v=4)](https://github.com/adambutler "adambutler (4 commits)")[![stefanaxelsson](https://avatars.githubusercontent.com/u/529438?v=4)](https://github.com/stefanaxelsson "stefanaxelsson (4 commits)")[![tom-park](https://avatars.githubusercontent.com/u/3248113?v=4)](https://github.com/tom-park "tom-park (4 commits)")[![AdamZ](https://avatars.githubusercontent.com/u/109343?v=4)](https://github.com/AdamZ "AdamZ (3 commits)")[![FJReber](https://avatars.githubusercontent.com/u/75646193?v=4)](https://github.com/FJReber "FJReber (3 commits)")[![darrylkuhn](https://avatars.githubusercontent.com/u/3458313?v=4)](https://github.com/darrylkuhn "darrylkuhn (3 commits)")[![phindmarsh](https://avatars.githubusercontent.com/u/344000?v=4)](https://github.com/phindmarsh "phindmarsh (3 commits)")

---

Tags

authoauthoauth2

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/reb3r-oauth2-server-php/health.svg)

```
[![Health](https://phpackages.com/badges/reb3r-oauth2-server-php/health.svg)](https://phpackages.com/packages/reb3r-oauth2-server-php)
```

###  Alternatives

[league/oauth2-server

A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.

6.7k151.3M327](/packages/league-oauth2-server)[google/auth

Google Auth Library for PHP

1.4k302.1M240](/packages/google-auth)[bshaffer/oauth2-server-php

OAuth2 Server for PHP

3.3k16.4M121](/packages/bshaffer-oauth2-server-php)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

121269.8k1](/packages/ellaisys-aws-cognito)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

353.6k](/packages/eslazarev-wildberries-sdk)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5018.6k1](/packages/simplesamlphp-simplesamlphp-module-oidc)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
