laravel-resque/README.md

42 lines
633 B
Markdown
Raw Normal View History

## Features
2016-07-28 21:55:02 +00:00
This package provides tools for the following, and more:
- Add jobs to queue
2016-08-02 06:14:39 +00:00
- Console command to run a sigle worker
## Installation
Via composer
``` bash
$ composer require hlgrrnhrdt/laravel-resque
```
2016-08-02 06:14:39 +00:00
Copy the config file ```config/resque.php``` from the package to your config folder.
### Laravel
``` php
'providers' => [
Hlgrrnhrdt\Resque\ResqueServiceProvider::class
]
```
### Lumen
Open ```bootstrap/app.php``` and register the required service provider
``` php
$app->register(Hlgrrnhrdt\Resque\ResqueServiceProvider::class);
```
and load the config with
``` php
$app->configure('resque');
```