PHP code example of microsoftazure / azure-service-bus-messenger
1. Go to this page and download the library: Download microsoftazure/azure-service-bus-messenger 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/ */
microsoftazure / azure-service-bus-messenger example snippets
// config/bundles.php
return [
// ...
MicroSoftAzure\AzureServiceBusMessenger\AzureServiceBusMessenger::class => ['all' => true],
];
$eventBus->dispatch($someMessage, [new AzureServiceBusEntityPathStamp('someEntityPath')]);