qlimix/queue-consumer-process

A queue consumer process implementation

1.0.0 2019-06-30 10:16 UTC

This package is auto-updated.

Last update: 2024-10-29 05:11:08 UTC


README

Travis CI Coveralls Packagist MIT License

A queue consumer process implementation.

Install

Using Composer:

$ composer require qlimix/queue-consumer-process

usage

<?php

use Qlimix\Queue\Consumer\QueueConsumerProcess;

$processor = new FooBarProcessor();
$process = new QueueConsumerProcess($processor);

$processor->run($control, $output);

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.