inspired by relayphp and zend-stratigility
- error handling
- trigger error via exception or
$next($req, $res, $error)
- handle that with
IErrorMiddleware
- skip normal middleware when there is an error, vice versa
- trigger error via exception or
- bundled middlewares
CallbackErrorMiddleware
: wrap error handling callbackConditionMiddleware
: conditionally skip inner middlewareSwitchMiddleware
: choose a middleware to run (routing)
- PHPDoc
- Tests
- Tutorials / Examples