Pipelined PSR-15 middleware
This is an example library for how to treat Middleware as a pipeline.
This uses the SyberIsle Pipeline as it's pipeline implementation.
$stack = new \Pipeware\Stack( new \Pipeware\Containerized($container), // any psr-11 compatible container new \Pipeware\Processor() ); // append your responder $stack->append(new Responder()); // append your error handler $stack->append(new ErrorHandler()); // have the stack handle your request $response = $stack->handle($request); // do something with your response if needed
Please see CHANGELOG for more information what has changed.
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.