idanoo / laravel-resque
Wrapper for idanoo/php-resque (Laravel/Lumen ^10)
Installs: 1 210
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- php: >=8.1
- idanoo/php-resque: ^2.5
- illuminate/config: ^10.0
- illuminate/console: ^10.0
Requires (Dev)
- phpunit/phpunit: ^10
Replaces
README
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');