ideationnet / invoker-router-middleware
兼容 PSR-15 的 Invoker 路由中间件
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-09-15 04:43:14 UTC
README
这是一个简单的 PSR-15 兼容的 invoker 路由中间件。
从一系列路由中,它将调用您 InvokerInterface 实现支持的任何内容。基于 FastRoute。在结合可调用的 Action 类使用时,在 Action Domain Responder (ADR) 架构中非常有用。
要求
- PHP7+
- 任何兼容 PSR-15 的中间件运行器
- 兼容 InvokerInterface 的 invoker
安装
通过 Composer
$ composer require ideationnet/invoker-router-middleware
用法
TBC...
安全性
如果您发现任何与安全性相关的问题,请通过电子邮件 darren@darrenmothersele.com 联系,而不是使用问题跟踪器。
致谢
许可
MIT 许可证。请参阅 许可文件 获取更多信息。