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
Requires
- php: >=5.4.0
- chrisboulton/php-resque: 1.2.x
- chrisboulton/php-resque-scheduler: 1.1
- illuminate/config: 4.2.x
- illuminate/queue: 4.2.x
- nesbot/carbon: *
This package is not auto-updated.
Last update: 2020-01-14 06:11:10 UTC
README
##Installation
- in composer.json:
"require": { ... "kodeks/php-resque": "dev-master" }
2) in **queue.php**:
>```
'connections' => array(
'resque' => array(
'driver' => 'resque',
'queue' => 'default',
'log_time' => 60,
),
...
),
- 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"]);