PHP code example of ankurgoels / laravel-pubsub-queue

1. Go to this page and download the library: Download ankurgoels/laravel-pubsub-queue 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/ */

    

ankurgoels / laravel-pubsub-queue example snippets


Kainxspirits\PubSubQueue\PubSubQueueServiceProvider::class,

'pubsub' => [
    'driver' => 'pubsub',
    'queue' => env('PUBSUB_QUEUE', 'default'),
    'project_id' => env('PUBSUB_PROJECT_ID', 'your-project-id'),
    'retries' => 3,
    'request_timeout' => 60,
    'keyFile' => json_decode(file_get_contents(storage_path('keys/pubsub.json')), true),
],