ideationnet / invoker-router-middleware
Invoker Router PSR-15 compatible middleware
1.0
2017-11-14 10:30 UTC
Requires
- php: ~7.0
- http-interop/http-server-middleware: ^1.0
- nikic/fast-route: ^1.2
- php-di/invoker: ^1.3
Requires (Dev)
- phpunit/phpunit: ^6.4
- squizlabs/php_codesniffer: ^3.1
This package is not auto-updated.
Last update: 2024-12-22 06:20:07 UTC
README
A simple PSR-15 compatible invoker router middleware.
From an array of routes this will dispatch and invoke anything supported by your InvokerInterface implementation. Based on FastRoute. Useful in Action Domain Responder (ADR) architectures when used with the invokable Action class.
Requirements
- PHP7+
- Any PSR-15 compatible middleware runner
- An invoker compatible with InvokerInterface
Install
Via Composer
$ composer require ideationnet/invoker-router-middleware
Usage
TBC...
Security
If you discover any security related issues, please email darren@darrenmothersele.com instead of using the issue tracker.
Credits
License
The MIT License. Please see License File for more information.