Download the PHP package componenta/pipeline without Composer
On this page you can find all versions of the php package componenta/pipeline. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download componenta/pipeline
More information about componenta/pipeline
Files in componenta/pipeline
Download componenta/pipeline
More information about componenta/pipeline
Files in componenta/pipeline
Vendor componenta
Package pipeline
Short Description PSR-15 middleware pipeline for Componenta
License MIT
Package pipeline
Short Description PSR-15 middleware pipeline for Componenta
License MIT
Please rate this library. Is it a good library?
Informations about the package pipeline
Componenta Pipeline
PSR-15 middleware pipeline for the Componenta framework.
Installation
The package declares Componenta\Http\Middleware\PipelineConfigProvider in extra.componenta.config-providers.
When componenta/composer-plugin is installed, the provider is added to the generated provider list automatically.
Related Packages
| Package | Why it matters here |
|---|---|
psr/http-server-middleware |
Defines MiddlewareInterface and RequestHandlerInterface. |
componenta/app-http |
Runs HTTP applications on top of the pipeline; concrete middleware and response emission live in separate HTTP packages. |
componenta/router |
Usually sits near the end of the HTTP pipeline. |
componenta/middleware-factory |
Creates middleware from strings, classes, groups, and callables. |
Usage
As a top-level handler
If no fallbackHandler is supplied, EmptyPipelineHandler is installed and throws RuntimeException on invocation — this surfaces misconfiguration of an empty pipeline.
Nested pipelines
A pipeline is itself a middleware, so pipelines compose:
Via the factory
Behavior
- Middleware execute in registration order (FIFO).
pipe()returns a new pipeline; the original is not modified.- Returning a response from a middleware without calling the next handler halts the chain.
- Exceptions from middleware and terminal handlers propagate unchanged.
Errors
| Condition | Exception |
|---|---|
Non-middleware element in constructor / pipe() |
InvalidArgumentException |
Pipeline appended to itself via pipe() |
RuntimeException |
Pipeline passed as its own handler to process() |
RuntimeException |
| Empty pipeline invoked without a custom fallback | RuntimeException |
All versions of pipeline with dependencies
PHP Build Version
Package Version
The package componenta/pipeline contains the following files
Loading the files please wait ...