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 yesterday

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 18% 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.5M30](/packages/league-geotools)[illuminate/bus

The Illuminate Bus package.

6045.5M508](/packages/illuminate-bus)[uecode/qpush-bundle

Asynchronous processing for Symfony using Push Queues

1672.5M2](/packages/uecode-qpush-bundle)[jayazhao/think-queue-rabbitmq

为 ThinkPHP5.1 队列增加 RabbitMQ 驱动

141.5k](/packages/jayazhao-think-queue-rabbitmq)[mayconbordin/l5-stomp-queue

Stomp Queue Driver for Laravel 5

121.1k](/packages/mayconbordin-l5-stomp-queue)

PHPackages © 2026

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