qlimix/messagebus-async-middleware

Asynchronous handling of message via messagebus middleware

2.0.1 2020-04-13 18:55 UTC

This package is auto-updated.

Last update: 2024-10-14 05:24:41 UTC


README

Travis CI Coveralls Packagist MIT License

Asynchronous handling of message via messagebus middleware.

Install

Using Composer:

$ composer require qlimix/messagebus-async-middleware

usage

<?php

use Qlimix\MessageBus\MessageBus\Middleware\AsynchronousMiddleware;

$producer = new FooBarProducer();

$asyncMiddleware = new AsynchronousMiddleware($producer, 'foobar');

Testing

To run all unit tests locally with PHPUnit:

$ vendor/bin/phpunit

Quality

To ensure code quality run grumphp which will run all tools:

$ vendor/bin/grumphp run

Contributing

Please see CONTRIBUTING for details.