bernard/amqp-driver

AMQP driver for Bernard

dev-master / 0.1.x-dev 2018-02-19 17:42 UTC

This package is auto-updated.

Last update: 2024-03-17 05:14:41 UTC


README

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.