PHPackages                             saurabhaec/zf2-php-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. saurabhaec/zf2-php-resque

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

saurabhaec/zf2-php-resque
=========================

PHP Resque Worker in zf2

112[1 PRs](https://github.com/saurabhaec/zf2-php-resque/pulls)PHP

Since Sep 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/saurabhaec/zf2-php-resque)[ Packagist](https://packagist.org/packages/saurabhaec/zf2-php-resque)[ RSS](/packages/saurabhaec-zf2-php-resque/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

\#ZF2 PHP Resque Worker in zf2

**Dependency**

1. redis server

**Instalation**1. move file **resquezf2.global.php.dist** from config folder to globle config folder and rename file to **resquezf2.global.php**
2. add **Resquezf2** in application.config.php file at moduel section to load this moudle.
3. load Resque Library; add this line to your module.php ```
    require_once APPLICATION_PATH."/module/Resquezf2/src/Resquezf2/vendor/autoload.php";
    ```
 if you are useing [BjyAuthorize](https://github.com/bjyoungblood/BjyAuthorize) moduel then add this line to your moduel.php to desable its for commond line rout ```

$request = $e->getTarget()->getServiceManager()->get('Request');
    if ($request instanceof ConsoleRequest) {
        //throw new RuntimeException('You can only use this action from a console!');
        // console desable BjyAuthorize
    }else{

        //bjyauthorise navigation
        $authorize = $e->getTarget()->getServiceManager()->get('BjyAuthorizeServiceAuthorize');
        $acl = $authorize->getAcl();
        $role = $authorize->getIdentity();

        // var_dump($acl , $role); exit();
        $parentRoles = $authorize->getIdentityProvider()->getIdentityRoles();
        \Zend\View\Helper\Navigation::setDefaultAcl($acl);
        \Zend\View\Helper\Navigation::setDefaultRole($role);

    }

  otherwise skip this .

```

8. **run worker in commond line**```
    php public/index.php run-worker
    ```
9. \#Add job in queue ```
    \Resque::setBackend('localhost:6379');
    $args = array( );
    \Resque::enqueue('zf2-php-resque', 'Resquezf2\Model\Job', $args );

    ```
10. you can also create your own class in model location.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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/29703726295d49dc4df957e470ec67e776517a08bfe0e1cea066c5cac2eadbb6?d=identicon)[saurabhaec](/maintainers/saurabhaec)

---

Top Contributors

[![saurabhchandrapatel](https://avatars.githubusercontent.com/u/1212679?v=4)](https://github.com/saurabhchandrapatel "saurabhchandrapatel (7 commits)")

---

Tags

php-resqueworkers

### Embed Badge

![Health badge](/badges/saurabhaec-zf2-php-resque/health.svg)

```
[![Health](https://phpackages.com/badges/saurabhaec-zf2-php-resque/health.svg)](https://phpackages.com/packages/saurabhaec-zf2-php-resque)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.5M29](/packages/league-geotools)[illuminate/bus

The Illuminate Bus package.

6045.5M505](/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)

PHPackages © 2026

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