PHPackages                             noa/middleware-handler - 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. noa/middleware-handler

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

noa/middleware-handler
======================

A simple PSR-7 / PSR-15 middleware handler

1.0.0(8y ago)036BSDPHP

Since Sep 20Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Akanoa/NoaMiddlewareHandler)[ Packagist](https://packagist.org/packages/noa/middleware-handler)[ RSS](/packages/noa-middleware-handler/feed)WikiDiscussions master Synced 3w ago

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

[![Build Status](https://camo.githubusercontent.com/6de3da41c7234c44e6786907c867c181983a3b47e45b0d759f0f9a7eff6bc638/68747470733a2f2f7472617669732d63692e6f72672f416b616e6f612f4e6f614d6964646c657761726548616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Akanoa/NoaMiddlewareHandler)[![codecov](https://camo.githubusercontent.com/23aec7dc0289f96dea8025c221e295292b2875c8417d972f07c269202586a93e/68747470733a2f2f636f6465636f762e696f2f67682f416b616e6f612f4e6f614d6964646c657761726548616e646c65722f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/Akanoa/NoaMiddlewareHandler)

Yet another middlewares dispatcher
==================================

[](#yet-another-middlewares-dispatcher)

Description
-----------

[](#description)

Just a simple PSR-15 middleware dispatcher

Installation
------------

[](#installation)

```
composer require noa/middleware-handle

```

Usage
-----

[](#usage)

```
$request = ServerRequest::fromGlobals();

$stack = new MiddlewaresHandler();
$response = $stack->create()
        ->pipe(new App())
        ->pipe(new Middleware1())
        ->pipe(new Middleware2())
        ->pipe(new Middleware3())
        ->process($request);

```

The request will pass throught Middleware3, then Middleware2, then Middleware1, then App.

When App return its response, Middleware1 will do something or not like Middleware 2 and 3.

Finally Middleware3 give its response to MiddlewareHandler::process method which return this $response

Development
-----------

[](#development)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

3207d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4521637?v=4)[Akanoa](/maintainers/Akanoa)[@Akanoa](https://github.com/Akanoa)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/noa-middleware-handler/health.svg)

```
[![Health](https://phpackages.com/badges/noa-middleware-handler/health.svg)](https://phpackages.com/packages/noa-middleware-handler)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B3.9k](/packages/guzzlehttp-psr7)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M155](/packages/algolia-algoliasearch-client-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M731](/packages/sylius-sylius)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3856.2M31](/packages/gotenberg-gotenberg-php)[google/cloud

Google Cloud Client Library

1.2k16.7M57](/packages/google-cloud)

PHPackages © 2026

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