PHP code example of designmynight / laravel-horizon-rabbitmq
1. Go to this page and download the library: Download designmynight/laravel-horizon-rabbitmq library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
designmynight / laravel-horizon-rabbitmq example snippets
DesignMyNight\Laravel\Horizon\HorizonServiceProvider::class,
'environments' => [
'production' => [
'supervisor-1' => [
'connection' => 'rabbitmq',
'queue' => ['default'],
'balance' => 'simple',
'processes' => 8,
'tries' => 3,
],
],