PHPackages                             arrounded/queues - 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. arrounded/queues

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

arrounded/queues
================

A set of queue helpers

1.0.2(10y ago)0290MITPHPPHP &gt;=5.5.9

Since Jul 10Pushed 10y ago2 watchersCompare

[ Source](https://github.com/arrounded/queues)[ Packagist](https://packagist.org/packages/arrounded/queues)[ RSS](/packages/arrounded-queues/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (8)Versions (4)Used By (0)

Arrounded/queues
================

[](#arroundedqueues)

> An optionated helper for dealing with queues

[![Build Status](https://camo.githubusercontent.com/62dd7e68a58933ad4a3152b0d75a495d3dde93d8343ec40fb7c3f7948460cf3f/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f6172726f756e6465642f7175657565732e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/arrounded/queues)[![Latest Stable Version](https://camo.githubusercontent.com/c1a9a310db8990d283c7ba5a680a1a6b76787077e03c37257a57169978ac7c12/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6172726f756e6465642f7175657565732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arrounded/queues)[![Total Downloads](https://camo.githubusercontent.com/c1879010e270870be1540c18bd3be8e15e073f55a68388746493836cf7220f53/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6172726f756e6465642f7175657565732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arrounded/queues)[![Scrutinizer Quality Score](https://camo.githubusercontent.com/c154a6ed9d8388ba6b3393da90bc689eeeae33bc0004bd8d313ab6a1f7ac3c5d/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6172726f756e6465642f7175657565732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/arrounded/queues/)[![Code Coverage](https://camo.githubusercontent.com/80f5e83f11f479fbf318880ef7afeaffc35ab9997e46ebea0d9aa53cde892543/687474703a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6172726f756e6465642f7175657565732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/arrounded/queues/)

Install
-------

[](#install)

Via Composer

```
$ composer require arrounded/queues
```

A Laravel 4.2 version also availabe: `composer require arrounded/queues:dev-laravel/4.2`

Usage
-----

[](#usage)

First add the module's service provider and facade to config/app.php:

```
Arrounded\Queues\ServiceProvider::class
```

```
'Queues' => Arrounded\Queues\Facades\Queues::class,
```

Now you can start using the helper in your application code via the Facade:

### Pushing jobs

[](#pushing-jobs)

```
Queues::on('foo')->uses(Foobar::class)->push()
```

This will push a job on the `local_foo_normal` queue.

**Priorities**

```
Queues::on('foo')->uses(Foobar::class)->priority(Queues::PRIORITY_HIGH)->push();
```

This will push a job on the `local_foo_high` queue.

**Passing a payload**

```
Queues::on('foo')->uses(Foobar::class)->with([
	'bar' => 'foo'
])->push();
```

This will push a job on the `local_foo_normal` queue with a `{'bar': 'foo'}` payload

**Delaying execution**

```
Queues::on('foo')->uses(Foobar::class)->delay(10)->push();
```

This will delay the execution of the job by 10 seconds.

### Prefixing queue names

[](#prefixing-queue-names)

The default behavior is to prefix all queues with the current app environment. If you want to overwrite this default on an application level, you can do it in your own ServiceProvider:

```
$this->app['queues']->setPrefix('foobar') // foobar_foo_normal
```

**Disabling queueing**

In some cases you might want to disable queueing all together (for example during integration/functional tests)

```
// To disable
$this->app['queues']->disabled()

// To re-enable
$this->app['queues']->disabled(false)
```

### Dependency Injection

[](#dependency-injection)

You can also use dependency injection:

```
use Arrounded\Queues\Queues;

class FooService
{
	public function __construct(Queues $queues)
	{
		$this->queues = $queues;
	}
```

Testing
-------

[](#testing)

```
$ composer test
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~67 days

Total

2

Last Release

3898d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/041cdc8fc831716b7f56c3ddf84169ea1d97ca91e9ea90b42be88d73c404ff8a?d=identicon)[bramdevries](/maintainers/bramdevries)

---

Top Contributors

[![bramdevries](https://avatars.githubusercontent.com/u/1002245?v=4)](https://github.com/bramdevries "bramdevries (12 commits)")

---

Tags

laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/arrounded-queues/health.svg)

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.1k84.2M225](/packages/laravel-horizon)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

3786.5k](/packages/harris21-laravel-fuse)[palpalani/laravel-sqs-queue-json-reader

Custom SQS queue reader for Laravel

26109.8k](/packages/palpalani-laravel-sqs-queue-json-reader)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)

PHPackages © 2026

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