PHPackages                             prooph/psb-http-producer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. prooph/psb-http-producer

ActiveLibrary[HTTP &amp; Networking](/categories/http)

prooph/psb-http-producer
========================

Http Message Producer for Prooph Service Bus using guzzle

v1.1.0(8y ago)124.2k↓33.3%5[2 issues](https://github.com/prooph/psb-http-producer/issues)BSD-3-ClausePHPPHP ^7.1

Since Oct 31Pushed 7y ago4 watchersCompare

[ Source](https://github.com/prooph/psb-http-producer)[ Packagist](https://packagist.org/packages/prooph/psb-http-producer)[ Docs](http://getprooph.org/)[ RSS](/packages/prooph-psb-http-producer/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (15)Versions (9)Used By (0)

Guzzle HTTP message dispatcher for ProophServiceBus
===================================================

[](#guzzle-http-message-dispatcher-for-proophservicebus)

[![Build Status](https://camo.githubusercontent.com/3a3e03e3417643736a072d9c9dd979a9b9480b3e89811341d7f01b2b5718c9fe/68747470733a2f2f7472617669732d63692e6f72672f70726f6f70682f7073622d687474702d70726f64756365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/prooph/psb-http-producer)[![Coverage Status](https://camo.githubusercontent.com/e4afb35e9f304941a960459dcac99148dfbb3ff268a0dec48b1e6072300d0b1c/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f70726f6f70682f7073622d687474702d70726f64756365722e737667)](https://coveralls.io/r/prooph/psb-http-producer?branch=master)[![Gitter](https://camo.githubusercontent.com/abe08b740a4156153736f791393ec4da6619c4be73212e75769f52edacc0e2b5/68747470733a2f2f6261646765732e6769747465722e696d2f4a6f696e253230436861742e737667)](https://gitter.im/prooph/improoph)

Use [php-http/httplug](http://httplug.io/) as message producer for [Prooph Service Bus](https://github.com/prooph/service-bus). Works together with all bus types: CommandBus, EventBus and QueryBus.

Important
---------

[](#important)

This library will receive support until December 31, 2019 and will then be deprecated.

For further information see the official announcement here:

Installation
============

[](#installation)

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

Usage
-----

[](#usage)

Pass a ready-to-use `Http\Client\HttpClient` to `Prooph\ServiceBus\Message\Http\HttpMessageProducer` together with a `Prooph\Common\Messaging\MessageConverter`.

For async requests use an `Http\Client\HttpAsyncClient` with `\Prooph\ServiceBus\Message\Http\HttpAsyncMessageProducer`.

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.

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.

For an overview of all ready-to-use http client implementations, check the official documentation of [php-http](http://docs.php-http.org/en/latest/httplug/introduction.html#implementations).

Support
=======

[](#support)

- Ask questions on Stack Overflow tagged with [\#prooph](https://stackoverflow.com/questions/tagged/prooph).
- File issues at .
- Say hello in the [prooph gitter](https://gitter.im/prooph/improoph) chat.

Contribute
==========

[](#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.

License
-------

[](#license)

Released under the [New BSD License](LICENSE).

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~194 days

Total

6

Last Release

3278d ago

Major Versions

v0.4.0 → v1.0.02017-06-21

PHP version history (3 changes)v0.1.0PHP &gt;=5.4

v0.2.0PHP &gt;=5.5

v1.0.0PHP ^7.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7341005?v=4)[prooph](/maintainers/prooph)[@prooph](https://github.com/prooph)

---

Top Contributors

[![prolic](https://avatars.githubusercontent.com/u/394428?v=4)](https://github.com/prolic "prolic (25 commits)")[![basz](https://avatars.githubusercontent.com/u/143068?v=4)](https://github.com/basz "basz (5 commits)")

---

Tags

httphttplugphpphp7proophprooph-service-bushttpGuzzlemessagingcqrsprooph

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prooph-psb-http-producer/health.svg)

```
[![Health](https://phpackages.com/badges/prooph-psb-http-producer/health.svg)](https://phpackages.com/packages/prooph-psb-http-producer)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

7.9k1.1B3.7k](/packages/guzzlehttp-psr7)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35729.6k2](/packages/telnyx-telnyx-php)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28146.3k](/packages/phpro-http-tools)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
