Download the PHP package stream-lib/rabbitmq-super-stream-legacy without Composer
On this page you can find all versions of the php package stream-lib/rabbitmq-super-stream-legacy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stream-lib/rabbitmq-super-stream-legacy
More information about stream-lib/rabbitmq-super-stream-legacy
Files in stream-lib/rabbitmq-super-stream-legacy
Package rabbitmq-super-stream-legacy
Short Description PHP 5.6-compatible client for publishing to RabbitMQ Super Streams via an internal Go helper.
License MIT
Homepage https://github.com/standard-librarian/rabbitmq-super-stream-legacy
Informations about the package rabbitmq-super-stream-legacy
RabbitMQ Super Stream Publisher for PHP 5.6
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
- 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.1TCP 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
- PHP
>=5.6 proc_open,flock,json, andstream_socket_clientopensslor PHPrandom_bytes()support for secure helper request ids and auth tokens- Supported bundled helper targets:
linux-amd64linux-arm64darwin-amd64darwin-arm64
Windows is not supported in v1.
Installation
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:
Basic Usage
publish() waits for broker confirmation by default and throws a typed PHP exception on failure.
Configuration
Supported options match the modern package:
hostportusernamepasswordvhostsuper_streamuse_tlsverify_tlstls_server_nameconnect_timeout_msconfirm_timeout_mshelper_rpc_timeout_mshelper_startup_timeout_mshelper_shutdown_timeout_mshelper_max_queue_sizehelper_transport_preferencehelper_runtime_dirhelper_binary
The helper endpoint is managed internally by the library. Normal application configuration should not set it.
Local Development
Integration tests require RabbitMQ Streams: