PHPackages                             chadicus/slim-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. [HTTP &amp; Networking](/categories/http)
4. /
5. chadicus/slim-oauth2

ActiveMetapackage[HTTP &amp; Networking](/categories/http)

chadicus/slim-oauth2
====================

OAuth2 routes, middleware and utilities for use within a Slim Framework API

v3.4.0(3y ago)129376.3k↓53.9%19[4 issues](https://github.com/chadicus/slim-oauth2/issues)3MITPHP ^5.6 || ^7.0 || ^8.0

Since Jul 24Pushed 3y ago13 watchersCompare

[ Source](https://github.com/chadicus/slim-oauth2)[ Packagist](https://packagist.org/packages/chadicus/slim-oauth2)[ RSS](/packages/chadicus-slim-oauth2/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (3)Versions (15)Used By (3)

Chadicus\\Slim\\OAuth2
======================

[](#chadicusslimoauth2)

[![Latest Stable Version](https://camo.githubusercontent.com/4f01b1051333435e575bc3620f9e90e752754fba2458a132f3608370e58ab3db/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f736c696d2d6f61757468322f762f737461626c65)](https://packagist.org/packages/chadicus/slim-oauth2)[![Latest Unstable Version](https://camo.githubusercontent.com/b3e454500fb05d521a8b6175cffe6791320cee00d914807c97073b41af341e94/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f736c696d2d6f61757468322f762f756e737461626c65)](https://packagist.org/packages/chadicus/slim-oauth2)[![License](https://camo.githubusercontent.com/2f3133c157c63bd3a77e9e9de11142a2ab3c12655699c5c9e0c0e90606ab3392/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f736c696d2d6f61757468322f6c6963656e7365)](https://packagist.org/packages/chadicus/slim-oauth2)

[![Total Downloads](https://camo.githubusercontent.com/bb9746e0182a61a90e96582cb5ef0c28ff8805a303145ca12c2be86b36dc096f/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f736c696d2d6f61757468322f646f776e6c6f616473)](https://packagist.org/packages/chadicus/slim-oauth2)[![Daily Downloads](https://camo.githubusercontent.com/96fb88903b9237bf0a0709bb8279a0a65ea122ad83586440e955fa5826399c46/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f736c696d2d6f61757468322f642f6461696c79)](https://packagist.org/packages/chadicus/slim-oauth2)[![Monthly Downloads](https://camo.githubusercontent.com/56d805b45c76938339f4ae504c8966dbce28121ed0e4b78afa42760cbe720aaa/68747470733a2f2f706f7365722e707567782e6f72672f63686164696375732f736c696d2d6f61757468322f642f6d6f6e74686c79)](https://packagist.org/packages/chadicus/slim-oauth2)

A collection of [OAuth2 Server](http://bshaffer.github.io/oauth2-server-php-docs/) routes, middleware and utilities for use within a [Slim 3 Framework](http://www.slimframework.com/) API

Requirements
------------

[](#requirements)

Chadicus\\Slim\\OAuth2 requires PHP 5.6 (or later).

Composer
--------

[](#composer)

To add the library as a local, per-project dependency use [Composer](http://getcomposer.org)! Simply add a dependency on `chadicus/slim-oauth2` to your project's `composer.json` file such as:

```
composer require chadicus/slim-oauth2
```

Components
----------

[](#components)

This package is a metapackage aggregating the following components:

- [chadicus/slim-oauth2-http](https://github.com/chadicus/slim-oauth2-http)
- [chadicus/slim-oauth2-middleware](https://github.com/chadicus/slim-oauth2-middleware)
- [chadicus/slim-oauth2-routes](https://github.com/chadicus/slim-oauth2-routes)

Examples
--------

[](#examples)

Examples can be found in the [examples](examples/) folder.

Community
---------

[](#community)

[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/slim-oauth2/Lobby#)

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity50

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% 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 ~218 days

Recently: every ~631 days

Total

14

Last Release

1151d ago

Major Versions

v0.2.0 → v1.0.02016-05-22

v1.0.0 → v3.0.02016-05-22

v1.0.1 → v3.1.02016-11-15

PHP version history (2 changes)v0.1.0PHP ~5.4

v3.4.0PHP ^5.6 || ^7.0 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![chadicus](https://avatars.githubusercontent.com/u/1182337?v=4)](https://github.com/chadicus "chadicus (62 commits)")[![bryant1410](https://avatars.githubusercontent.com/u/3905501?v=4)](https://github.com/bryant1410 "bryant1410 (1 commits)")

---

Tags

apihttpmiddlewareoauth2phppsr-7routesslimhttpmiddlewareapiroutespsr7slimoauth2

### Embed Badge

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

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

###  Alternatives

[chadicus/slim-oauth2-http

Bridge components for PSR-7 and bshaffer's OAuth2 Server http messages.

18466.2k8](/packages/chadicus-slim-oauth2-http)[eljam/guzzle-jwt-middleware

A jwt authentication middleware for guzzle 6

28761.5k3](/packages/eljam-guzzle-jwt-middleware)[rtheunissen/guzzle-rate-limiter

Guzzle 6 middleware used to delay requests dynamically

56180.0k1](/packages/rtheunissen-guzzle-rate-limiter)[wellrested/wellrested

Simple PHP Library for RESTful APIs

4919.4k4](/packages/wellrested-wellrested)[openapi/openapi-sdk

Minimal and agnostic PHP SDK for Openapi® (https://openapi.com)

171.4k1](/packages/openapi-openapi-sdk)[northwoods/router

Fast router for PSR-15 request handlers

161.4k](/packages/northwoods-router)

PHPackages © 2026

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