mirror of
https://github.com/idanoo/laravel-resque.git
synced 2024-11-21 08:01:59 +00:00
add installation instrcutions to README
This commit is contained in:
parent
90588406a0
commit
c905c734bb
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