mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-23 08:55:21 +00:00
Merge tag '0.1.0' into development
0.1.0
This commit is contained in:
commit
e4344b93bc
39
README.md
39
README.md
@ -1 +1,40 @@
|
|||||||
|
## Features
|
||||||
|
|
||||||
|
This package provides tools for the following, and more:
|
||||||
|
|
||||||
|
- Add jobs to queue
|
||||||
|
|
||||||
|
## Installation
|
||||||
|
|
||||||
|
Via composer
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
$ composer require hlgrrnhrdt/laravel-resque
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copy the config the 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');
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user