PHPackages                             bshaffer/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. bshaffer/oauth2-server-php

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

bshaffer/oauth2-server-php
==========================

OAuth2 Server for PHP

v1.14.2(1y ago)3.3k15.2M—7.5%946[156 issues](https://github.com/bshaffer/oauth2-server-php/issues)[33 PRs](https://github.com/bshaffer/oauth2-server-php/pulls)20MITPHPPHP &gt;=7.2CI passing

Since Oct 24Pushed 1y ago202 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (35)Used By (20)

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

[](#oauth2-server-php)

[![Total Downloads](https://camo.githubusercontent.com/32e11cefb581f6e159fea74c5dfbb6be2bc13a1b40838170c488a41fdf1e042f/68747470733a2f2f706f7365722e707567782e6f72672f62736861666665722f6f61757468322d7365727665722d7068702f646f776e6c6f616473)](https://packagist.org/packages/bshaffer/oauth2-server-php)

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

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance45

Moderate activity, may be stable

Popularity77

Solid adoption and visibility

Community56

Growing community involvement

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 75.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 ~156 days

Recently: every ~258 days

Total

30

Last Release

416d ago

Major Versions

v0.9 → v1.02013-08-12

v1.10.0 → v2.x-dev2017-11-30

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

v1.2PHP &gt;=5.3.9

v1.12.0PHP &gt;=7.1

v1.14.1PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/a8713415b20b4be4cec8f8b22741e3cd05f76eee9e38de1de5bf32727349b7c5?d=identicon)[bshaffer](/maintainers/bshaffer)

---

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)")[![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)")[![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)")[![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)")[![itskingori](https://avatars.githubusercontent.com/u/703786?v=4)](https://github.com/itskingori "itskingori (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)")[![darrylkuhn](https://avatars.githubusercontent.com/u/3458313?v=4)](https://github.com/darrylkuhn "darrylkuhn (3 commits)")[![AdamZ](https://avatars.githubusercontent.com/u/109343?v=4)](https://github.com/AdamZ "AdamZ (3 commits)")[![phindmarsh](https://avatars.githubusercontent.com/u/344000?v=4)](https://github.com/phindmarsh "phindmarsh (3 commits)")[![javigs](https://avatars.githubusercontent.com/u/2932358?v=4)](https://github.com/javigs "javigs (2 commits)")[![dallasvogels](https://avatars.githubusercontent.com/u/2522828?v=4)](https://github.com/dallasvogels "dallasvogels (2 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (2 commits)")[![mathroc](https://avatars.githubusercontent.com/u/291531?v=4)](https://github.com/mathroc "mathroc (2 commits)")

---

Tags

authoauthoauth2

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/bshaffer-oauth2-server-php/health.svg)](https://phpackages.com/packages/bshaffer-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)[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)
