php-circle/middleware-dispatcher

PSR-15 compliant Middleware dispatcher

dev-master 2019-08-24 09:29 UTC

README

A PSR-15 compliant middleware dispatcher.

Installation

composer require php-circle/middleware-dispatcher

Usage

$dispatcher = new Dispatcher($request, [$middleware1, $middleware2]);

$dispatcher->dispatch(new PsrRequestHandler());