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.16.14(3mo ago)152.4k↑22.7%41MITPHPPHP &gt;=8.1

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 master Synced 1mo ago

READMEChangelog (10)Dependencies (7)Versions (46)Used By (1)

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

[](#oauth2-server-php)

[![Build Status](https://camo.githubusercontent.com/b08ef20448d0040d78b91b2ed4ab6f009cee7eb35dfb1a632576fb5d02d79a8c/68747470733a2f2f7472617669732d63692e636f6d2f72656233722f6f61757468322d7365727665722d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/reb3r/oauth2-server-php)

[![Total Downloads](https://camo.githubusercontent.com/4b476e88324ae11762647c2915ff689f3aed40e62a4d8208306cb4dbea51e3a6/68747470733a2f2f706f7365722e707567782e6f72672f72656233722f6f61757468322d7365727665722d7068702f646f776e6c6f6164732e706e67)](https://packagist.org/packages/reb3r/oauth2-server-php)

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

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance82

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community24

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 70.7% 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 ~148 days

Total

42

Last Release

97d ago

Major Versions

v0.9 → v1.02013-08-12

PHP version history (6 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

### 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 (658 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 (28 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 AnalysisRector

### 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.6k136.0M248](/packages/league-oauth2-server)[bshaffer/oauth2-server-php

OAuth2 Server for PHP

3.3k15.2M106](/packages/bshaffer-oauth2-server-php)[league/openid-connect-claims

An OpenID Connect ID claims set implementation

15242.9k2](/packages/league-openid-connect-claims)[chervand/yii2-oauth2-server

OAuth 2.0 server for Yii 2.0 with MAC tokens support.

1524.2k1](/packages/chervand-yii2-oauth2-server)

PHPackages © 2026

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