cntd / laravel-php-resque by Snikius

463
3
7
Package Data
Maintainer Username: Snikius
Package Create Date: 2014-10-06
Package Last Update: 2016-08-15
Language: PHP
License: Unknown
Last Refreshed: 2024-04-30 15:08:12
Package Statistics
Total Downloads: 463
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 3
Total Watchers: 7
Total Forks: 0
Total Open Issues: 0

laravel-php-resque

##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"]);