PHPackages                             platine-php/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. [Framework](/categories/framework)
4. /
5. platine-php/oauth2

ActiveLibrary[Framework](/categories/framework)

platine-php/oauth2
==================

Platine OAuth2 is a library that implements the OAuth2 specification

v2.0.0(9mo ago)04.9k1MITPHPPHP ^8CI passing

Since Dec 5Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/platine-php/oauth2)[ Packagist](https://packagist.org/packages/platine-php/oauth2)[ RSS](/packages/platine-php-oauth2/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (4)Dependencies (9)Versions (6)Used By (1)

PLATINE OAUTH2
--------------

[](#platine-oauth2)

**Platine OAuth2 is a library that implements the OAuth2 specification**

[![Project Status](https://camo.githubusercontent.com/5b5a2250da48f45495a817a4bcdabb5d101fff298acebe00a55a52815b7119ed/687474703a2f2f6f70656e736f757263652e626f782e636f6d2f6261646765732f6163746976652e737667)](http://opensource.box.com/badges)[![Latest Stable Version](https://camo.githubusercontent.com/7cdeaad1ec3ab106196aca5c056691ba942e18fc33296a5fd3aff0ed0a67c4cc/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f6f61757468322f76)](https://packagist.org/packages/platine-php/oauth2)[![Latest Unstable Version](https://camo.githubusercontent.com/f9546c5b1e4de5786a7e4207bf90aca56884f9e414b5f694ed7098ab4fbc186f/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f6f61757468322f762f756e737461626c65)](https://packagist.org/packages/platine-php/oauth2)[![Total Downloads](https://camo.githubusercontent.com/44089915eda18b0058c4c86363cf3e5419f527db2ea430b7447be617da7f5c7f/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f6f61757468322f646f776e6c6f616473)](https://packagist.org/packages/platine-php/oauth2)[![License](https://camo.githubusercontent.com/7e381a95f2d8a6f527890269e9e75122501a519ee47ff9a855ea5da3a1cdb8fc/68747470733a2f2f706f7365722e707567782e6f72672f706c6174696e652d7068702f6f61757468322f6c6963656e7365)](https://packagist.org/packages/platine-php/oauth2)
[![Tests](https://github.com/platine-php/oauth2/actions/workflows/ci.yml/badge.svg)](https://github.com/platine-php/oauth2/actions/workflows/ci.yml/badge.svg)[![Quality Score](https://camo.githubusercontent.com/46b2e756201671ccfeacea0450270e36a26e62cc12ef50cabbc2e0460f55f71e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f706c6174696e652d7068702f6f61757468322e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/platine-php/oauth2)[![Codacy Badge](https://camo.githubusercontent.com/4832d557ccc3e2c9399bbb7ffe4b9544706be1e3165f807a4c3c58f663565121/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3031373932396362366565333462623639663737343265353234356264633935)](https://app.codacy.com/gh/platine-php/oauth2/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)[![Codacy Badge](https://camo.githubusercontent.com/609e26f23af0cbd3c290f51e671454170398fe3d2569a3d5b70a16e97ec43246/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f436f7665726167652f3031373932396362366565333462623639663737343265353234356264633935)](https://app.codacy.com/gh/platine-php/oauth2/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage)

### Requirements

[](#requirements)

- **PHP &gt;= 8.0**

### Installation

[](#installation)

#### Using composer (recommended)

[](#using-composer-recommended)

```
composer require platine-php/oauth2
```

### License

[](#license)

MIT and BSD-3-Clause License, See [LICENSE.MD](LICENSE.MD)

### Resources

[](#resources)

- [Documentation](https://docs.platine-php.com/packages/oauth2)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance58

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity46

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 ~217 days

Total

4

Last Release

278d ago

Major Versions

v1.0.2 → v2.0.02025-09-18

PHP version history (2 changes)v1.0.0PHP ^7.4 || ^8

v2.0.0PHP ^8

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16177981?v=4)[Tony NGUEREZA](/maintainers/nguereza-tony)[@nguereza-tony](https://github.com/nguereza-tony)

---

Top Contributors

[![nguereza-tony](https://avatars.githubusercontent.com/u/16177981?v=4)](https://github.com/nguereza-tony "nguereza-tony (54 commits)")

---

Tags

phpapiframeworkrestoauth2authorizationapplicationaccess tokenscopeplatine

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[patricksavalle/slim-rest-api

Production-grade REST-API App-class for PHP SLIM, in production on https://zaplog.pro (https://api.zaplog.pro/v1)

101.4k](/packages/patricksavalle-slim-rest-api)

PHPackages © 2026

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