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 today

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 52% 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

3944d 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.2k95.4M306](/packages/laravel-horizon)[laravel/scout

Laravel Scout provides a driver based solution to searching your Eloquent models.

1.7k55.0M619](/packages/laravel-scout)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M131](/packages/laravel-pulse)[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M345](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M194](/packages/laravel-ai)[illuminate/auth

The Illuminate Auth package.

10528.2M1.2k](/packages/illuminate-auth)

PHPackages © 2026

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