PHPackages                             igoryan-909/yii2-resque - 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. igoryan-909/yii2-resque

ActiveYii2-extension[Queues &amp; Workers](/categories/queues)

igoryan-909/yii2-resque
=======================

Queue component for Yii2.

0195[2 issues](https://github.com/igoryan-909/yii2-resque/issues)PHP

Since Apr 4Pushed 9y ago1 watchersCompare

[ Source](https://github.com/igoryan-909/yii2-resque)[ Packagist](https://packagist.org/packages/igoryan-909/yii2-resque)[ RSS](/packages/igoryan-909-yii2-resque/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Redis queue for Yii2
====================

[](#redis-queue-for-yii2)

Simplified php-resque component for Yii2.

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist igoryan-909/yii2-resque "*"

```

or add

```
"igoryan-909/yii2-resque": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Set config :

```
'controllerMap' => [
    'resque' => [
        'class' => 'ivanoff\resque\controllers\ResqueController',
    ],
],
```

Start daemon :

`php yii resque/listen queue_name`

Add job class :

```
class MyJob extends Job
{
    public function setUp()
    {
        # Set up environment for this job
    }

    public function perform()
    {
        # The arguments which given in resque enqueue method are available in $this->args
    }

    public function tearDown()
    {
        # Remove environment for this job
    }
}
```

For adding job :

```
$resque = new Resque([
    'redis' => new Connection([
        'hostname' => 'xxx.xxx.xxx.xxx',
    ]),
]);

$token = $resque->enqueue('queue_name', Job::className(), ['arg' => 'val'], true);
```

For check job status :

```
$status = (new JobStatus([
    'redis' => new Connection([
       'hostname' => 'xxx.xxx.xxx.xxx',
    ]),
    'id' => $token
]))->get();
```

or get the status from the resque object with its redis :

```
$resque->status($token)->get()
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/eaf631d10f007b55eaa08c3d7a9010704340ca7b363c867f394c9a607c9592d9?d=identicon)[igoryan-909](/maintainers/igoryan-909)

---

Top Contributors

[![ivanoff-i](https://avatars.githubusercontent.com/u/6358287?v=4)](https://github.com/ivanoff-i "ivanoff-i (1 commits)")

### Embed Badge

![Health badge](/badges/igoryan-909-yii2-resque/health.svg)

```
[![Health](https://phpackages.com/badges/igoryan-909-yii2-resque/health.svg)](https://phpackages.com/packages/igoryan-909-yii2-resque)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)

PHPackages © 2026

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