mpociot/pipeline
Lightweight PHP pipeline implementation (based on illuminate/pipeline) without requiring the Illuminate container. Send an object through an array of middleware/handlers and finish with a callback—useful for middleware-style request/command processing.
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
});
Please see CONTRIBUTING for details.
Pipeline is free software distributed under the terms of the MIT license.
How can I help you explore Laravel packages today?