PHPackages                             mcfedr/resque-queue-driver-bundle - 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. [Caching](/categories/caching)
4. /
5. mcfedr/resque-queue-driver-bundle

Abandoned → [mcfedr/queue-manager-bundle](/?search=mcfedr%2Fqueue-manager-bundle)Symfony-bundle[Caching](/categories/caching)

mcfedr/resque-queue-driver-bundle
=================================

A bundle for running symfony background tasks with Redis backend

3.5.0(8y ago)02.8k3MITPHPPHP &gt;=5.5

Since Feb 4Pushed 8y ago1 watchersCompare

[ Source](https://github.com/mcfedr/resque-queue-driver-bundle)[ Packagist](https://packagist.org/packages/mcfedr/resque-queue-driver-bundle)[ RSS](/packages/mcfedr-resque-queue-driver-bundle/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (8)Versions (14)Used By (0)

Resque Queue Driver Bundle
==========================

[](#resque-queue-driver-bundle)

A driver for [Queue Manager Bundle](https://github.com/mcfedr/queue-manager-bundle) that uses resque

[![Latest Stable Version](https://camo.githubusercontent.com/68ed28276f1b9bacb0dde8ef9cb0b7f8741f33514f2f6a6d6d9a1c5bc54af1f7/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f7265737175652d71756575652d6472697665722d62756e646c652f762f737461626c652e706e67)](https://packagist.org/packages/mcfedr/resque-queue-driver-bundle)[![License](https://camo.githubusercontent.com/239a69ca2641b032ec4e947d54ae6a150fa7ad46a0dfdb84faef4582519888c0/68747470733a2f2f706f7365722e707567782e6f72672f6d63666564722f7265737175652d71756575652d6472697665722d62756e646c652f6c6963656e73652e706e67)](https://packagist.org/packages/mcfedr/resque-queue-driver-bundle)[![Build Status](https://camo.githubusercontent.com/e25740791000cef402c60d613edf6ddf4882fdaea9809735ac37650e68c89d98/68747470733a2f2f7472617669732d63692e6f72672f6d63666564722f7265737175652d71756575652d6472697665722d62756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mcfedr/resque-queue-driver-bundle)

Usage
-----

[](#usage)

[PHP Resque](https://github.com/chrisboulton/php-resque) installs two commands into your bin folder. Generally you should run just one instance of `resque-scheduler` and several of `resque`.

```
QUEUE=default APP_INCLUDE=var/bootstrap.php.cache REDIS_BACKEND=127.0.0.1:6379 ./vendor/bin/resque
PREFIX="my_app:" REDIS_BACKEND=127.0.0.1:6379 ./vendor/bin/resque-scheduler
```

- Add `VVERBOSE=1` to the environment to get more logging.

It can be useful to decouple the queueing (master) and execution (slave) of jobs in a micro service architecture. For this it can be necessary to set specific `kernel_options`for a worker if they differ from the master.

- Add `KERNEL_CLASS` with the fully qualified class name of the kernel to override the `kernel.root_dir` option. If your kernel is not located in the root namespace (like in symfony flex applications), this is the only way to specify the class name of the kernel class.
- Add `SYMFONY_ENV` or `APP_ENV` to override the `kernel.environment` option.
- Add `SYMFONY_DEBUG` or `APP_DEBUG` to override the `kernel.debug` option.

Install
-------

[](#install)

### Composer

[](#composer)

```
composer require mcfedr/resque-queue-driver-bundle

```

### AppKernel

[](#appkernel)

Include the bundle in your AppKernel

```
public function registerBundles()
{
    $bundles = [
        ...
        new Mcfedr\QueueManagerBundle\McfedrQueueManagerBundle(),
        new Mcfedr\ResqueQueueDriverBundle\McfedrResqueQueueDriverBundle(),

```

Config
------

[](#config)

With this bundle installed you can setup your queue manager config similar to this:

```
mcfedr_queue_manager:
    managers:
        default:
            driver: resque
            options:
                host: 127.0.0.1
                port: 11300
                default_queue: default
                track_status: false

```

This will create a `QueueManager` service named `"mcfedr_queue_manager.default"`

- `host` and `port` - Where is your Redis server
- `default_queue` - Name of the default queue to use
- `track_status` - Set to `true` to enable extra job tracking data to be stored in redis. Useful for debugging

Options to `QueueManager::put`
------------------------------

[](#options-to-queuemanagerput)

- `queue` - A `string` with the name of a queue
- `time` - A `\DateTime` object of when to schedule this job
- `delay` - Number of seconds from now to schedule this job
- `track_status` - Set to `true` to enable extra job tracking data to be stored in redis. Useful for debugging

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

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 ~62 days

Recently: every ~55 days

Total

13

Last Release

2998d ago

Major Versions

1.0.0 → 2.0.02016-07-29

2.0.1 → 3.0.02016-08-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/7039999f29a83140d61116032ec1684c752412e458ad1999e15eea2f8808498c?d=identicon)[mcfedr](/maintainers/mcfedr)

---

Top Contributors

[![mcfedr](https://avatars.githubusercontent.com/u/704356?v=4)](https://github.com/mcfedr "mcfedr (23 commits)")

---

Tags

redisqueuejobscheduletaskresque

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/mcfedr-resque-queue-driver-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/mcfedr-resque-queue-driver-bundle/health.svg)](https://phpackages.com/packages/mcfedr-resque-queue-driver-bundle)
```

###  Alternatives

[mjphaynes/php-resque

Redis backed library for creating background jobs and processing them later.

228199.3k2](/packages/mjphaynes-php-resque)[javibravo/simpleue

Php package to manage queue tasks in a simple way

130332.1k1](/packages/javibravo-simpleue)

PHPackages © 2026

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