PHPackages                             maduser/argon-middleware - 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. [Framework](/categories/framework)
4. /
5. maduser/argon-middleware

ActiveLibrary[Framework](/categories/framework)

maduser/argon-middleware
========================

PSR-15 middleware pipeline infrastructure for the Argon runtime stack.

v1.0.0(2w ago)029↓100%2MITPHPPHP ^8.2CI passing

Since May 24Pushed 2w ago1 watchersCompare

[ Source](https://github.com/judus/argon-middleware)[ Packagist](https://packagist.org/packages/maduser/argon-middleware)[ RSS](/packages/maduser-argon-middleware/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (11)Versions (3)Used By (2)

Argon Middleware
================

[](#argon-middleware)

[![PHP](https://camo.githubusercontent.com/ce3e396e4f1bbbd326f628872a1414656d28065f2712cda0868d8eff07320aec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d382e322b2d626c7565)](https://www.php.net/)[![Build](https://github.com/judus/argon-middleware/actions/workflows/php.yml/badge.svg)](https://github.com/judus/argon-middleware/actions)[![codecov](https://camo.githubusercontent.com/5293d268254a6f52616810f3e2e69935637a0c5e07160d0a4abc4344cbd40d82/68747470733a2f2f636f6465636f762e696f2f67682f6a756475732f6172676f6e2d6d6964646c65776172652f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/judus/argon-middleware)[![Psalm Level](https://camo.githubusercontent.com/74dfc13506e8b5dc85a2cb3410fdca2fbaad7fa2de60228599b6dfbd712e4d39/68747470733a2f2f73686570686572642e6465762f6769746875622f6a756475732f6172676f6e2d6d6964646c65776172652f636f7665726167652e737667)](https://shepherd.dev/github/judus/argon-middleware)[![Latest Version](https://camo.githubusercontent.com/53860f8b9b7058afd5c81c80e6fc64a3f387571fc14519c4fb68c86c1e6a77a2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6164757365722f6172676f6e2d6d6964646c65776172652e737667)](https://packagist.org/packages/maduser/argon-middleware)[![Downloads](https://camo.githubusercontent.com/9ad6d6203d381f8915149ccbaff7b0eea7726175afe95a58bff207ade6ad1ab6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6164757365722f6172676f6e2d6d6964646c65776172652e737667)](https://packagist.org/packages/maduser/argon-middleware)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

`maduser/argon-middleware` provides the PSR-15 middleware pipeline infrastructure for the Argon HTTP stack. It builds request-handler chains, resolves middleware through the container, and stores compiled pipelines through the configured pipeline store.

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

[](#installation)

```
composer require maduser/argon-middleware
```

Service Provider
----------------

[](#service-provider)

Register `MiddlewarePipelineServiceProvider` in an Argon container:

```
use Maduser\Argon\Middleware\Provider\MiddlewarePipelineServiceProvider;

$container->register(MiddlewarePipelineServiceProvider::class);
```

By default, tagged middleware is loaded from the `middleware.http` tag. The tag can be changed through the `middleware.tag` container parameter before the provider is registered.

Scope
-----

[](#scope)

This package owns middleware loading, resolving, dispatching, and pipeline storage. It does not match routes, convert controller return values, or format error responses.

Quality Gate
------------

[](#quality-gate)

```
composer check
```

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance97

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

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

16d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fb9da5a15010d335622bf9f465a32ef79c8d1cffcd139c2a9114736b72e2c13?d=identicon)[jdu](/maintainers/jdu)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/maduser-argon-middleware/health.svg)

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[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)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k11](/packages/tempest-framework)[typo3/cms-core

TYPO3 CMS Core

3312.9M4.7k](/packages/typo3-cms-core)[windwalker/framework

The next generation PHP framework.

25640.0k1](/packages/windwalker-framework)

PHPackages © 2026

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