PHP code example of jeffersongoncalves / laravel-queue-consumer
1. Go to this page and download the library: Download jeffersongoncalves/laravel-queue-consumer 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/ */
jeffersongoncalves / laravel-queue-consumer example snippets
return [
'hub_url' => env('QUEUE_CONSUMER_HUB_URL'),
'token' => env('QUEUE_CONSUMER_TOKEN'),
'slug' => env('QUEUE_CONSUMER_SLUG', basename(base_path())),
'timeout' => env('QUEUE_CONSUMER_TIMEOUT', 5),
];
bash
php artisan vendor:publish --tag=queue-consumer-config