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.
AmqpConnectionFactory
✓ use Enqueue\AmqpExt\AmqpConnectionFactory;
Send a message to an AMQP queue
use Enqueue\AmqpExt\AmqpConnectionFactory;
$factory = new AmqpConnectionFactory('amqp://guest:guest@localhost:5672');
$context = $factory->createContext();
$queue = $context->createQueue('test');
$message = $context->createMessage('Hello');
$context->createProducer()->send($queue, $message);
Upgrade
Version history
0.10.27latest on Packagist
Audit
Dependencies
No dependency data recorded yet.