PHPackages                             codexshaper/oauth2 - 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. codexshaper/oauth2

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

codexshaper/oauth2
==================

OAuth2 authentication for PHP.

v1.2(5y ago)01761MITPHPPHP ^7.2CI failing

Since Jun 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Codexshaper/oauth2)[ Packagist](https://packagist.org/packages/codexshaper/oauth2)[ Docs](https://github.com/Codexshaper/oauth2)[ RSS](/packages/codexshaper-oauth2/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)Dependencies (7)Versions (7)Used By (1)

[![License](https://camo.githubusercontent.com/1e1cb7bae9fc55a01fc5443d26e358dc21c129253bcfa9841db85c4f25aa2ecf/687474703a2f2f696d672e736869656c64732e696f2f3a6c6963656e73652d6d69742d626c75652e7376673f7374796c653d666c61742d737175617265)](http://badges.mit-license.org)[![Build Status](https://camo.githubusercontent.com/91c9627ae242b50075a127b9a55a7c8fe1ce38932986731a40e9a9d72c056ac3/68747470733a2f2f7472617669732d63692e6f72672f436f6465787368617065722f6f61757468322e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Codexshaper/oauth2)[![StyleCI](https://camo.githubusercontent.com/7e15f34332ed1a460bc0d1be2f0576d7496021ee64db764b17b81770461b2bd8/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3237333137333338382f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/273173388)[![Quality Score](https://camo.githubusercontent.com/83f94ff23a7c14cca4d0fa9b5d7fcfe2ab29a9302e6526046056affb39bab921/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f436f6465787368617065722f6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Codexshaper/oauth2)[![Downloads](https://camo.githubusercontent.com/799e5cb5349240362ef4b7fd7732e195b0de0c08d735b17588a4a16082b34816/68747470733a2f2f706f7365722e707567782e6f72672f436f6465787368617065722f6f61757468322f642f746f74616c2e737667)](https://packagist.org/packages/Codexshaper/oauth2)[![Latest Version on Packagist](https://camo.githubusercontent.com/2db3f34491adafe810cfc326d55d7ce43e630063414a50268750f599b39edc28/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f436f6465787368617065722f6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Codexshaper/oauth2)

Description
===========

[](#description)

Oauth2 implementation for PHP

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~8 days

Total

3

Last Release

2140d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/88afdef32d0b9f6870f60d470bd66609c03fa02643393a7ee4c4de50dc390e3d?d=identicon)[Codexshaper](/maintainers/Codexshaper)

---

Top Contributors

[![maab16](https://avatars.githubusercontent.com/u/20833514?v=4)](https://github.com/maab16 "maab16 (15 commits)")[![Codexshaper](https://avatars.githubusercontent.com/u/49456098?v=4)](https://github.com/Codexshaper "Codexshaper (10 commits)")

---

Tags

phpAuthenticationoauthoauth2oauth2 serveroauth2-authenticationleague-oauth2-server

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codexshaper-oauth2/health.svg)

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

###  Alternatives

[uafrica/oauth-server

OAuth Server for CakePHP 3 using the PHP League's OAuth2 Server

5172.1k](/packages/uafrica-oauth-server)[andalisolutions/oauth2-anaf

Anaf OAuth 2.0 support for the PHP League's OAuth 2.0 Client

194.1k](/packages/andalisolutions-oauth2-anaf)[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)
