Skip to content

Files

Latest commit

08b6025 · May 4, 2022

History

History

Amqp

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 project is licensed under the MIT License.