bernard / amqp-driver
AMQP driver for Bernard
dev-master / 0.1.x-dev
2018-02-19 17:42 UTC
Requires
- php: ^5.6 || ^7.0
- bernard/bernard: dev-master
- php-amqplib/php-amqplib: ^2.5
Requires (Dev)
- phpunit/phpunit: ^5.7 || ^6.0 || ^7.0
This package is auto-updated.
Last update: 2024-11-17 06:33:35 UTC
README
AMQP driver for Bernard.
Install
Via Composer
$ composer require bernard/amqp-driver
Usage
<?php use Bernard\Driver\Amqp\Driver; use PhpAmqpLib\Connection\AMQPStreamConnection; $connection = new AMQPStreamConnection('localhost', 5672, 'guest', 'guest'); $driver = new Driver($connection, 'exchange');
License
The MIT License (MIT). Please see License File for more information.