PHPackages                             sykescottages/qu - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. sykescottages/qu

ActiveLibrary[Queues &amp; Workers](/categories/queues)

sykescottages/qu
================

A generic wrapper for queue libraries

2.1.3(5y ago)459.0k↓77.2%1[2 PRs](https://github.com/SykesCottages/Qu/pulls)MITPHPPHP &gt;=7.3CI failing

Since Jan 15Pushed 3y ago3 watchersCompare

[ Source](https://github.com/SykesCottages/Qu)[ Packagist](https://packagist.org/packages/sykescottages/qu)[ RSS](/packages/sykescottages-qu/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (8)Dependencies (11)Versions (13)Used By (0)

Qu
==

[](#qu)

[![Build Status](https://camo.githubusercontent.com/46092287a9586299563739ae5cae6389d691f64bdd684055791f723f54806dbc/68747470733a2f2f7472617669732d63692e6f72672f53796b6573436f7474616765732f51752e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/SykesCottages/Qu)[![Coverage Status](https://camo.githubusercontent.com/6c9f363ec8242d962d3871dcd4275205ed2d9ae662115134da6dccec537f4bb8/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f53796b6573436f7474616765732f51752f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/SykesCottages/Qu?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/07db6e1e4be15ba026229fe5b16a5ea6aa8c012c93bd81d51b3cb0d38c4d482f/68747470733a2f2f706f7365722e707567782e6f72672f73796b6573636f7474616765732f71752f762f737461626c65)](https://packagist.org/packages/sykescottages/qu)[![Total Downloads](https://camo.githubusercontent.com/90583e0b6135020f586ae252bc6172b2f7ed76814abb491a1bccc749ccc3a15a/68747470733a2f2f706f7365722e707567782e6f72672f73796b6573636f7474616765732f71752f646f776e6c6f616473)](https://packagist.org/packages/sykescottages/qu)[![Latest Unstable Version](https://camo.githubusercontent.com/5b200809e303a734ea44e96a2be4ef79511f5bf815d86d6266d8b151cf6e9d92/68747470733a2f2f706f7365722e707567782e6f72672f73796b6573636f7474616765732f71752f762f756e737461626c65)](https://packagist.org/packages/sykescottages/qu)

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

Requirements
------------

[](#requirements)

- PHP &gt;= 7.3

Install
-------

[](#install)

Install via Composer:

`composer require sykescottages/qu`

Examples
--------

[](#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
----------------

[](#supported-queues)

### RabbitMQ

[](#rabbitmq)

#### Links

[](#links)

*These links are only available when the docker container is running*

NameLinkQueueManagement Console#### Options

[](#options)

OptionDescriptionDefaultValuesblockingConsumerWhether the consume method should block execution or only process 1 messagetruetrue/falseprefetchSizeGet the limit of messages that can be consumed by the channelnullany numeric valueprefetchCountThe limit of messages that we fetch from the queue1any numeric valueconsumerTagA tag for the consumerdefault.consumer.tagany value### SQS

[](#sqs)

#### Links

[](#links-1)

*These links are only available when the docker container is running*

NameLinkQueue#### Options

[](#options-1)

OptionDescriptionDefaultValuesblockingConsumerWhether the consume method should block execution or only process 1 messagetruetrue/falsepollTimeSet the consumer to do short polling or long polling200-20maxNumberOfMessagesPerConsumeThe amount of messages each poll/consume will retrieve from the queue11-10

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 54.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~114 days

Recently: every ~148 days

Total

8

Last Release

1901d ago

Major Versions

1.1.0 → 2.0.02019-02-06

PHP version history (2 changes)1.0.0PHP &gt;=7.2

2.1.2PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/a7759f1a7acac4ee25112e8e0ac2eb608010aba1060ba00c687d615dc7e74f19?d=identicon)[exussum](/maintainers/exussum)

---

Top Contributors

[![exussum12](https://avatars.githubusercontent.com/u/1102850?v=4)](https://github.com/exussum12 "exussum12 (20 commits)")[![richardhughes](https://avatars.githubusercontent.com/u/4634220?v=4)](https://github.com/richardhughes "richardhughes (15 commits)")[![beattie282](https://avatars.githubusercontent.com/u/3083014?v=4)](https://github.com/beattie282 "beattie282 (2 commits)")

---

Tags

hacktoberfest

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sykescottages-qu/health.svg)

```
[![Health](https://phpackages.com/badges/sykescottages-qu/health.svg)](https://phpackages.com/packages/sykescottages-qu)
```

###  Alternatives

[vladimir-yuldashev/laravel-queue-rabbitmq

RabbitMQ driver for Laravel Queue. Supports Laravel Horizon.

2.1k10.3M31](/packages/vladimir-yuldashev-laravel-queue-rabbitmq)[bschmitt/laravel-amqp

AMQP wrapper for Laravel and Lumen to publish and consume messages

2782.4M7](/packages/bschmitt-laravel-amqp)[dusterio/laravel-aws-worker

Run Laravel (or Lumen) tasks and queue listeners inside of AWS Elastic Beanstalk workers

3115.8M](/packages/dusterio-laravel-aws-worker)[jwage/phpamqplib-messenger

Symfony messenger transport for the php-amqplib/php-amqplib library.

86201.9k1](/packages/jwage-phpamqplib-messenger)[hyperf/amqp

A amqplib for hyperf.

231.2M66](/packages/hyperf-amqp)[convenia/pigeon

3234.2k](/packages/convenia-pigeon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
