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 2mo ago

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 14% 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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M318](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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