A generic wrapper for queue libraries

2.1.3 2021-03-26 14:29 UTC

README

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version

This package has been designed to switch out queue providers using a Queue & Consumer interface. You can use this package with RabbitMQ & SQS to seamlessly switch between the two.

Requirements

  • PHP >= 7.3

Install

Install via Composer:

composer require sykescottages/qu

Examples

In the examples folder you can see how to use this with both providers. The interfaces are the same and you only need to update the user credentials to match your environment.

We've bundled the queues in docker so you should be able to run examples locally if you clone this repository.

docker-compose up -d will start the RabbitMQ and SQS containers and you can run the examples locally.

Supported Queues

RabbitMQ

Links

These links are only available when the docker container is running

Options

SQS

Links

These links are only available when the docker container is running

Options