laravel-resque/README.md

41 lines
714 B
Markdown
Raw Permalink 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:15:19 +00:00
- Console command to run a single 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.
2016-08-02 06:20:54 +00:00
Additionally a default redis connection needs to be configured in ```config/redis.php```.
### Laravel
``` php
'providers' => [
2022-03-16 21:08:26 +00:00
Idanoo\Resque\ResqueServiceProvider::class
]
```
### Lumen
Open ```bootstrap/app.php``` and register the required service provider
``` php
2022-03-16 21:08:26 +00:00
$app->register(Idanoo\Resque\ResqueServiceProvider::class);
```
and load the config with
``` php
$app->configure('resque');
```