dryspell/router

There is no license information available for the latest version (dev-master) of this package.

Router middleware to add controllers as middlewares to the stack.

dev-master 2019-10-12 10:15 UTC

This package is auto-updated.

Last update: 2024-04-12 20:25:55 UTC


README

Router middleware to add controllers as middlewares to the stack.

Maps all incoming requests to controllers in a given namespace. Namespace should be supplied to constructor of Dryspell\Middlewares\Router.

Controllers must implement Psr\Http\Server\MiddlewareInterface.