mpociot/pipeline

Simple PHP middleware pipeline

1.0.2 2017-04-21 13:22 UTC

This package is auto-updated.

Last update: 2024-11-24 10:16:44 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.