PHPackages                             kovagoz/http-middleware-stack - 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. kovagoz/http-middleware-stack

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

kovagoz/http-middleware-stack
=============================

PSR-15 compatible HTTP middleware stack

1.0.0(4y ago)06[1 issues](https://github.com/kovagoz/http-middleware-stack/issues)MITPHPPHP &gt;=7.4

Since Jul 23Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kovagoz/http-middleware-stack)[ Packagist](https://packagist.org/packages/kovagoz/http-middleware-stack)[ RSS](/packages/kovagoz-http-middleware-stack/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

PSR-15 compatible HTTP middleware stack
=======================================

[](#psr-15-compatible-http-middleware-stack)

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

[](#requirements)

- PHP &gt;=7.4 (sorry, but I like typed properties)

Usage
-----

[](#usage)

You must specify a default response which returns if there is no middleware in the stack or none of them responded.

```
$stack = new \Kovagoz\Http\MiddlewareStack($defaultResponse);
$stack->push(new InnerMiddleware());
$stack->push(new OuterMiddleware());

$response = $stack->handle($serverRequest);
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

1805d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/664c17e6a7f99c063d1734e49da5623df8d9e91a30a692fcbb10bfc375eff43b?d=identicon)[kovagoz](/maintainers/kovagoz)

---

Top Contributors

[![kovagoz](https://avatars.githubusercontent.com/u/807434?v=4)](https://github.com/kovagoz "kovagoz (3 commits)")

---

Tags

middlewarephppsr-15httppsrmiddleware

### Embed Badge

![Health badge](/badges/kovagoz-http-middleware-stack/health.svg)

```
[![Health](https://phpackages.com/badges/kovagoz-http-middleware-stack/health.svg)](https://phpackages.com/packages/kovagoz-http-middleware-stack)
```

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M124](/packages/mezzio-mezzio)[cakephp/authentication

Authentication plugin for CakePHP

1214.1M103](/packages/cakephp-authentication)[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)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28591.3k3](/packages/mezzio-mezzio-authentication-oauth2)[typo3/cms-adminpanel

TYPO3 CMS Admin Panel - The Admin Panel displays information about your site in the frontend and contains a range of metrics including debug and caching information.

115.7M65](/packages/typo3-cms-adminpanel)

PHPackages © 2026

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