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 4d 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 49% 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

3159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/839c1ef5209417737ba1337d5d9e5e4be18b0e3e8459cfa5208573efe9e2d547?d=identicon)[Akanoa](/maintainers/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

[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

538204.9M23](/packages/league-uri-interfaces)[shopify/shopify-api

Shopify API Library for PHP

4634.8M16](/packages/shopify-shopify-api)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[php-heroku-client/php-heroku-client

A PHP client for the Heroku Platform API

24404.8k4](/packages/php-heroku-client-php-heroku-client)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[huaweicloud/huaweicloud-sdk-php

Huawei Cloud SDK for PHP

1829.2k2](/packages/huaweicloud-huaweicloud-sdk-php)

PHPackages © 2026

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