PHP code example of goavega-software / laravel-azure-servicebus

1. Go to this page and download the library: Download goavega-software/laravel-azure-servicebus 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/ */

    

goavega-software / laravel-azure-servicebus example snippets


        $payload = new \stdClass();
        $payload->id = 1;
        $payload->name = 'hello world';
        ProcessPodcast::dispatch($payload)->onConnection('azureservicebus')->onQueue('queue-name');