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-12-17 06:36:46 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.