maduser/argon-middleware

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

Maintainers

Package info

github.com/judus/argon-middleware

pkg:composer/maduser/argon-middleware

Statistics

Installs: 15

Dependents: 1

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.0 2026-05-24 14:29 UTC

This package is auto-updated.

Last update: 2026-05-24 14:56:59 UTC


README

PHP Build codecov Psalm Level Latest Version Downloads License: 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

composer require maduser/argon-middleware

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

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

composer check