2017 © Pedro Peláez
 

library psb-http-producer

Http Message Producer for Prooph Service Bus using guzzle

image

prooph/psb-http-producer

Http Message Producer for Prooph Service Bus using guzzle

  • Sunday, December 17, 2017
  • by prooph
  • Repository
  • 4 Watchers
  • 8 Stars
  • 785 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 2 Open issues
  • 11 Versions
  • 14 % Grown

The README.md

Guzzle HTTP message dispatcher for ProophServiceBus

Build Status Coverage Status Gitter, (*1)

Use php-http/httplug as message producer for Prooph Service Bus. Works together with all bus types: CommandBus, EventBus and QueryBus., (*2)

Important

This library will receive support until December 31, 2019 and will then be deprecated., (*3)

For further information see the official announcement here: https://www.sasaprolic.com/2018/08/the-future-of-prooph-components.html, (*4)

Installation

You can install the producer via composer by adding "prooph/psb-http-producer": "^1.0" as requirement to your composer.json., (*5)

Usage

Pass a ready-to-use Http\Client\HttpClient to Prooph\ServiceBus\Message\Http\HttpMessageProducer together with a Prooph\Common\Messaging\MessageConverter., (*6)

For async requests use an Http\Client\HttpAsyncClient with \Prooph\ServiceBus\Message\Http\HttpAsyncMessageProducer., (*7)

The MessageProducer sends a POST request to an endpoint specified by a psr-7 URI (using psr/http-message) with the json encoded message as body., (*8)

An async request means that when the producer is used for querying remote services (QueryBus) the producer does not wait until the promise gets resolved., (*9)

For an overview of all ready-to-use http client implementations, check the official documentation of php-http., (*10)

Support

Contribute

Please feel free to fork and extend existing or add new features 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., (*11)

License

Released under the New BSD License., (*12)

The Versions

26/05 2017

dev-psb_v6_support

dev-psb_v6_support http://getprooph.org/

Http Message Producer for Prooph Service Bus using guzzle

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

http guzzle messaging cqrs prooph

05/11 2015

dev-develop

dev-develop http://getprooph.org/

Http Message Producer for Prooph Service Bus using guzzle

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

http guzzle messaging cqrs prooph

01/09 2015

v0.4.0

0.4.0.0 https://github.com/prooph/psb-http-producer

Http Message Producer for Prooph Service Bus using guzzle

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

http guzzle messaging cqrs prooph

01/05 2015

v0.3.0

0.3.0.0 https://github.com/prooph/psb-http-dispatcher

Http message dispatcher for PSB using guzzle

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

php http guzzle messaging cqrs prooph

30/04 2015

v0.2.0

0.2.0.0 https://github.com/prooph/psb-http-dispatcher

Http message dispatcher for PSB using guzzle

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

php http guzzle messaging cqrs prooph

31/10 2014

v0.1.0

0.1.0.0 https://github.com/prooph/psb-http-dispatcher

Http message dispatcher for PSB using guzzle

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

php http guzzle messaging cqrs prooph