Registry / messaging / bunny-bunny

bunny-bunny

JSON →
library0.5.6phppackagistunverified

Performant pure-PHP AMQP (RabbitMQ) non-blocking ReactPHP library

composer require bunny/bunny
INSTALL
IMPORT
SIG · BUNNY-BUNNY
B
bunny-bunny
messagingphpv0.5.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use Bunny\Client;

Connect to RabbitMQ and publish a message

use Bunny\Client; $client = new Client(); $client->connect(); $channel = $client->channel(); $channel->queueDeclare('hello', false, false, false, false); $channel->publish('Hello World!', [], '', 'hello'); $client->disconnect();
Debug
Known issues
gotchaRequires PHP 7.1+ and ext-sockets or ext-event for non-blocking
fix
Install required extensions or use blocking mode with default stream_select
affects: >=0.5
Upgrade
Version history
0.5.6latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
30
OpenAI (training)
1
Resources
bunny-bunny — pip install bunny-bunny · libregistry