kodeks/php-resque

There is no license information available for the latest version (dev-master) of this package.

dev-master 2016-08-15 09:01 UTC

This package is not auto-updated.

Last update: 2020-01-14 06:11:10 UTC


README

##Installation

  1. in composer.json:

"require": { ... "kodeks/php-resque": "dev-master" }


2) in **queue.php**:
>```
    'connections' => array(
            'resque' => array(
                    'driver' => 'resque',
                    'queue'  => 'default',
                    'log_time' => 60,
            ),
            ...
    ),
  1. in app.php:
'providers' => array(
	...
            'Kodeks\PhpResque\PhpResqueServiceProvider',
),

4) Remove dafault queue provider *'Illuminate\Queue\QueueServiceProvider'* from **app.php**

##Usage

>```
    Queue::push("NameOfJobClass",["someDataKey"=>"someData"]);