2017 © Pedro Peláez
 

library laravel-resque-ex

Laravel Resque connector for Queue.

image

junaidnasir/laravel-resque-ex

Laravel Resque connector for Queue.

  • Wednesday, March 30, 2016
  • by junaidnasir
  • Repository
  • 1 Watchers
  • 0 Stars
  • 85 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 6 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Laravel Resque

This package allows you to connect to Resque when using Queue., (*1)

fixes some problems of deedod's laravel-resque-ex. (Resque queue was overwriting other queues), (*2)

This fork fixes the problem of queues overwriting (all queues are overwrited when using resque service providor., (*3)

Requirements

  • PHP 5.4+

Installation

Add the following to your project's composer.json:, (*4)

"require": {
    "junaidnasir/laravel-resque-ex": "^1.0"
}

Now you need to run the following to install the package:, (*5)

composer update

Next you need to add the following service provider to your app/config/app.php:, (*6)

'Resque\ServiceProviders\ResqueServiceProvider'

Now you need to add the following to your /app/config/queue.php "connections" section:, (*7)

"resque" => [
    "driver" => "resque"
]

If you wish to use this driver as your default Queue driver you will need to set the following as your "default" drive in app/config/queue.php:, (*8)

"default" => "resque",

Usage

If you choose to not use this driver as your default Queue driver you can call a Queue method on demand by doing:, (*9)

Queue::connection('resque')->push('JobName', ['name' => 'Andrew']);

Enqueing a Job

Queue::push('JobName', ['name' => 'Andrew']);

Tracking a Job

$token = Queue::push('JobName', ['name' => 'Andrew'], true);
$status = Queue::getStatus($token);

Enqueing a Future Job

$when = time() + 3600; // 1 hour from now
Queue::later($when, 'JobName', ['name' => 'Andrew']);

Further Documentation

License

Laravel Resque is open-sourced software licensed under the MIT license., (*10)

The Versions

30/03 2016

dev-master

9999999-dev

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson
by David Cook
by Junaid Nasir

laravel queue resque

01/02 2016

v1.0.4

1.0.4.0

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson
by David Cook
by Junaid Nasir

laravel queue resque

02/11 2015

dev-patch-1

dev-patch-1

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson
by David Cook

laravel queue resque

28/09 2015

1.0.3

1.0.3.0

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson
by David Cook

laravel queue resque

13/03 2015

1.0.2

1.0.2.0

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson
by David Cook

laravel queue resque

13/03 2015

1.0.1

1.0.1.0

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson
by David Cook

laravel queue resque

16/09 2014

1.0.0

1.0.0.0

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson

laravel queue resque

16/09 2014

dev-develop

dev-develop

Laravel Resque connector for Queue.

  Sources   Download

MIT

The Requires

 

by Matt Thompson

laravel queue resque