Features
This package provides tools for the following, and more:, (*1)
- Add jobs to queue
- Console command to run a single worker
Installation
Via composer, (*2)
``` bash
$ composer require hlgrrnhrdt/laravel-resque, (*3)
Copy the config file ```config/resque.php``` from the package to your config folder.
Additionally a default redis connection needs to be configured in ```config/redis.php```.
### Laravel
``` php
'providers' => [
Hlgrrnhrdt\Resque\ResqueServiceProvider::class
]
Lumen
Open bootstrap/app.php and register the required service provider, (*4)
``` php
$app->register(Hlgrrnhrdt\Resque\ResqueServiceProvider::class);, (*5)
and load the config with
``` php
$app->configure('resque');