prooph/psr7-middleware
最新稳定版本:v0.8
Composer 安装命令:
composer require prooph/psr7-middleware
包简介
PSR-7 Middleware for prooph components
关键字:
README 文档
README
Consume prooph messages (commands, queries and events) with a PSR-7 middleware. Please refer to the service-bus component documentation to see how to configure the different bus types.
Deprecated
Please use prooph/http-middleware instead.
Middleware
For every bus system a middleware exists and one Middleware to rule them all.
CommandMiddleware: Dispatches the message data to the command bus systemQueryMiddleware: Dispatches the message data to the query bus systemEventMiddleware: Dispatches the message data to the event bus systemMessageMiddleware: Dispatches the message data to the appropriated bus system depending on message type
Installation
You can install prooph/psr7-middleware via Composer by adding "prooph/psr7-middleware": "^0.1"
as requirement to your composer.json.
Documentation
Documentation is in the docs tree, and can be compiled using bookdown.
$ php ./vendor/bin/bookdown docs/bookdown.json $ php -S 0.0.0.0:8080 -t docs/html/
Then browse to http://localhost:8080/
Support
- Ask questions on Stack Overflow tagged with #prooph.
- File issues at https://github.com/prooph/psr7-middleware/issues.
- Say hello in the prooph gitter chat.
Contribute
Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation.
License
Released under the New BSD License.
统计信息
- 总下载量: 12.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 13
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-02-09