mirror of
https://github.com/idanoo/laravel-resque.git
synced 2025-11-06 03:18:07 +00:00
No description
|
|
||
|---|---|---|
| .github/workflows | ||
| config | ||
| src | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| composer.json | ||
| composer.lock | ||
| README.md | ||
| ruleset.xml | ||
Features
This package provides tools for the following, and more:
- Add jobs to queue
- Console command to run a single worker
Installation
Via composer
$ composer require hlgrrnhrdt/laravel-resque
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
'providers' => [
Idanoo\Resque\ResqueServiceProvider::class
]
Lumen
Open bootstrap/app.php and register the required service provider
$app->register(Idanoo\Resque\ResqueServiceProvider::class);
and load the config with
$app->configure('resque');