PHPackages                             sroze/message-http-adapter - 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. sroze/message-http-adapter

ActiveSymfony-bridge[HTTP &amp; Networking](/categories/http)

sroze/message-http-adapter
==========================

HTTP adapter for Symfony Message component

011[1 issues](https://github.com/sroze/message-http-adapter/issues)PHP

Since Oct 9Pushed 8y agoCompare

[ Source](https://github.com/sroze/message-http-adapter)[ Packagist](https://packagist.org/packages/sroze/message-http-adapter)[ RSS](/packages/sroze-message-http-adapter/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

HTTP adapter for Symfony's Message component
============================================

[](#http-adapter-for-symfonys-message-component)

Messages can also come from HTTP messages or go to other APIs through HTTP requests. This adapter will help you doing so in a very easy manner with the Symfony Message component.

Usage
-----

[](#usage)

They are two scenarios:

- [Receive HTTP messages](#receive-http-messages)
- [Send HTTP messages](#send-http-messages)

### Receive HTTP messages

[](#receive-http-messages)

1. Configure the adapter to receive your messages

```
# config/packages/message_http_adapter.yaml
message_http_adapter:
    consumers:
        - path: '/api/do-something'
          message: 'App\Message\DoSomething'
```

2. Configure Symfony's router to use your HTTP consumers

```
# app/config/routing.yml
http_messages:
    resource: .
    type: http_messages
```

3. Send your HTTP request!

```
curl 'http://localhost:8000/api/do-something' \
    -X POST \
    --data-binary '{"propertyOfDoSomethingObject": "yourValue"}' --compressed

```

### Send HTTP messages

[](#send-http-messages)

1. Configure the producer

```
# config/packages/message_http_adapter.yaml
message_http_adapter:
    producers:
        requestbin:
            endpoint: 'https://requestb.in/pdjzjmpd'
```

2. Route messages to the HTTP adapter producers

```
# config/packages/
framework:
    message:
        routing:
            'App\Message\Send3rdPartyNotification': message_http_adapter.producer.requestbin
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/58b8aaf662150e054108b611b620d1cf8c1cb91e00f76d3dfcd2d7a69a10991c?d=identicon)[sroze](/maintainers/sroze)

---

Top Contributors

[![sroze](https://avatars.githubusercontent.com/u/804625?v=4)](https://github.com/sroze "sroze (5 commits)")

### Embed Badge

![Health badge](/badges/sroze-message-http-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/sroze-message-http-adapter/health.svg)](https://phpackages.com/packages/sroze-message-http-adapter)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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