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 1w 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 27% 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

1759d 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

[psr/http-server-middleware

Common interface for HTTP server-side middleware

18091.2M1.5k](/packages/psr-http-server-middleware)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.0M61](/packages/mezzio-mezzio-router)[mezzio/mezzio-helpers

Helper/Utility classes for Mezzio

134.3M67](/packages/mezzio-mezzio-helpers)[mezzio/mezzio-authentication-oauth2

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

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)

PHPackages © 2026

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