PHP code example of talovicnedim / laravel-queue-prefix
1. Go to this page and download the library: Download talovicnedim/laravel-queue-prefix 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/ */
talovicnedim / laravel-queue-prefix example snippets
'providers' => [
// ...
Talovicnedim\LaravelQueuePrefix\QueuePrefixServiceProvider::class,
],
return [
'enabled' => true, // enable prefixing
'prefix' => env('APP_ENV', 'prod') // the prefix to use (if enabled)
'allowed_queues' => ['*'] // prefix all queues
'excluded_queues' => [] // queues to exclude from prefixing
];
bash
php artisan vendor:publish --provider="Talovicnedim\LaravelQueuePrefix\QueuePrefixServiceProvider"