Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 655 Bytes

README.md

File metadata and controls

32 lines (18 loc) · 655 Bytes

AMQP driver

Latest Version

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.