mpociot/pipeline

Simple PHP middleware pipeline

Maintainers

Package info

github.com/mpociot/pipeline

Homepage

pkg:composer/mpociot/pipeline

Statistics

Installs: 1 600 507

Dependents: 13

Suggesters: 0

Stars: 135

Open Issues: 0

1.0.2 2017-04-21 13:22 UTC

This package is auto-updated.

Last update: 2026-02-24 13:08:56 UTC


README

Simple PHP pipelines to use for things like middlewares.

This is just a modified version of the illuminate/pipeline repository, without the need for the illuminate container class.

(new Pipeline)
	->send($object)
    ->through($middleware)
    ->then(function(){
    	// middleware is finished
    });

Contributing

Please see CONTRIBUTING for details.

License

Pipeline is free software distributed under the terms of the MIT license.