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

Abandoned → [oidc/core](/?search=oidc%2Fcore)Library[Authentication &amp; Authorization](/categories/authentication)

oidc/oauth2
===========

The library for OAuth 2.0 Authorization Framework.

v0.6.0(6y ago)294MITPHPPHP &gt;=7.1CI failing

Since Nov 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/oidcphp/oauth2)[ Packagist](https://packagist.org/packages/oidc/oauth2)[ RSS](/packages/oidc-oauth2/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (14)Versions (8)Used By (0)

OAuth2 Library
==============

[](#oauth2-library)

[![License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](https://github.com/oidcphp/oauth2/blob/master/LICENSE)[![Build Status](https://camo.githubusercontent.com/acee4a4d6f97330bd8fa5f530dad8b27f8c3cd15b8ca5c32c40d0a59da1a672f/68747470733a2f2f7472617669732d63692e636f6d2f6f6964637068702f6f61757468322e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/oidcphp/oauth2)[![Coverage Status](https://camo.githubusercontent.com/d4ea11ca8d6e9c6a7568f33c7ba061a9c4e84de14f960cd400161b7f3c2f3d25/68747470733a2f2f636f6465636f762e696f2f67682f6f6964637068702f6f61757468322f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/oidcphp/oauth2)[![Codacy Badge](https://camo.githubusercontent.com/a86e73bdf06002599f0ce1d98d1f62c0465a8c52593bce23c3551b4260ac591b/68747470733a2f2f6170692e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f6666346365343638353036383462366238343535636366626331633039333262)](https://www.codacy.com/manual/oidcphp/oauth2)[![Latest Stable Version](https://camo.githubusercontent.com/b8a34ac89a1ce6a13c5bda73683ac7aac4286648697688deaa049b9be07aec42/68747470733a2f2f706f7365722e707567782e6f72672f6f6964632f6f61757468322f762f737461626c65)](https://packagist.org/packages/oidc/oauth2)[![Total Downloads](https://camo.githubusercontent.com/c700e671e183e087f2cc91d29db204c8c100b46a1a6cf1159f32ffd9c6ec7fd0/68747470733a2f2f706f7365722e707567782e6f72672f6f6964632f6f61757468322f642f746f74616c2e737667)](https://packagist.org/packages/oidc/oauth2)

The library for OAuth 2.0 Authorization Framework.

Implemented specs
-----------------

[](#implemented-specs)

- [RFC 6749 - The OAuth 2.0 Authorization Framework](https://tools.ietf.org/html/rfc6749)
- [RFC 7591 - OAuth 2.0 Dynamic Client Registration Protocol](https://tools.ietf.org/html/rfc7591)
- [RFC 8414 - OAuth 2.0 Authorization Server Metadata](https://tools.ietf.org/html/rfc8414)

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~22 days

Recently: every ~32 days

Total

7

Last Release

2342d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20872dcc4b888075f03819d5470db8198ffcc5f9edb791aba5f007e34355a6c9?d=identicon)[MilesChou](/maintainers/MilesChou)

---

Top Contributors

[![MilesChou](https://avatars.githubusercontent.com/u/1258752?v=4)](https://github.com/MilesChou "MilesChou (55 commits)")

---

Tags

oauth2

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k21](/packages/tempest-framework)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[cakephp/cakephp

The CakePHP framework

8.9k20.0M1.9k](/packages/cakephp-cakephp)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

36826.2k2](/packages/telnyx-telnyx-php)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[getbrevo/brevo-php

Official PHP SDK for the Brevo API.

1004.1M59](/packages/getbrevo-brevo-php)

PHPackages © 2026

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