PHPackages                             stream-lib/rabbitmq-super-stream-legacy - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. stream-lib/rabbitmq-super-stream-legacy

ActiveLibrary[Queues &amp; Workers](/categories/queues)

stream-lib/rabbitmq-super-stream-legacy
=======================================

PHP 5.6-compatible client for publishing to RabbitMQ Super Streams via an internal Go helper.

v0.1.0(1mo ago)010↓50%MITPHPPHP &gt;=5.6CI failing

Since Jun 14Pushed 1mo agoCompare

[ Source](https://github.com/standard-librarian/rabbitmq-super-stream-legacy)[ Packagist](https://packagist.org/packages/stream-lib/rabbitmq-super-stream-legacy)[ Docs](https://github.com/standard-librarian/rabbitmq-super-stream-legacy)[ RSS](/packages/stream-lib-rabbitmq-super-stream-legacy/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

RabbitMQ Super Stream Publisher for PHP 5.6
===========================================

[](#rabbitmq-super-stream-publisher-for-php-56)

`stream-lib/rabbitmq-super-stream-legacy` is the PHP 5.6-compatible sibling of `stream-lib/rabbitmq-super-stream`.

It keeps the same core idea: PHP applications get a small publishing API, while stream-specific RabbitMQ work is delegated to a bundled Go helper binary.

The modern package remains the recommended package for PHP 8.2+ applications. Use this legacy package only when an application must run on PHP 5.6.

Features
--------

[](#features)

- PHP 5.6-compatible plain PHP API
- No FFI and no custom PHP extension
- RabbitMQ Super Stream publishing powered by the official Go stream client
- Local HTTP+JSON protocol over Unix domain sockets when available
- Automatic fallback to `127.0.0.1` TCP for local helper transport
- Helper reuse across PHP requests per effective config hash
- Connects to an existing RabbitMQ super stream; production code does not declare streams
- Publish confirmations, helper health checks, retries, and structured error mapping

Laravel integration is intentionally not included in the first legacy release.

Requirements
------------

[](#requirements)

- PHP `>=5.6`
- `proc_open`, `flock`, `json`, and `stream_socket_client`
- `openssl` or PHP `random_bytes()` support for secure helper request ids and auth tokens
- Supported bundled helper targets:
    - `linux-amd64`
    - `linux-arm64`
    - `darwin-amd64`
    - `darwin-arm64`

Windows is not supported in v1.

Installation
------------

[](#installation)

```
composer require stream-lib/rabbitmq-super-stream-legacy
```

End users do not need Go installed if they use one of the bundled binary targets above.

If you want to override the bundled helper binary:

```
export SUPER_STREAM_HELPER_BINARY=/absolute/path/to/rabbitmq-super-stream-helper
```

Basic Usage
-----------

[](#basic-usage)

```
