PHPackages                             williamrijksen/symfony-messenger-azure - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. williamrijksen/symfony-messenger-azure

ActiveLibrary

williamrijksen/symfony-messenger-azure
======================================

Azure adapter for symfony/messenger component

0.1.0(7y ago)73753[1 issues](https://github.com/williamrijksen/symfony-messenger-azure/issues)MITPHPPHP &gt;=7.1.0

Since Dec 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/williamrijksen/symfony-messenger-azure)[ Packagist](https://packagist.org/packages/williamrijksen/symfony-messenger-azure)[ RSS](/packages/williamrijksen-symfony-messenger-azure/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (12)Versions (3)Used By (0)

Azure PubSub adapter for symfony/messenger
==========================================

[](#azure-pubsub-adapter-for-symfonymessenger)

[![Build Status](https://camo.githubusercontent.com/4f32f64b65fdb2e97df254db0b5b116dbda1e6374643d833b1c3e0db4dfd11ce/68747470733a2f2f7472617669732d63692e6f72672f77696c6c69616d72696a6b73656e2f73796d666f6e792d6d657373656e6765722d617a7572652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/williamrijksen/symfony-messenger-azure)

This is an experimental Receiver/Sender on Azure for the symfony/messenger component for topic and subscribers.

Quick start
-----------

[](#quick-start)

First of all: This uses topics / subscriptions like described [here](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-php-how-to-use-topics-subscriptions). Make sure you have a connection-string ready.

For now we're exposing a bundle which is pre-configuring the Messenger component with receivers and senders.

```
composer require symfony/messenger williamrijksen/symfony-messenger-azure
```

Add the bundle `new WilliamRijksen\AzureMessengerAdapter\Bundle\AzureMessengerAdapterBundle()`.

Add the following configuration:

```
azure_messenger_adapter:
    azure:
        connectionString: 'Endpoint='
        subscriptionName: 'name of subscription' #topic will be automatically created by this bundle
    messages:
        'App\Message\Foo': 'foo_topic' #topic will be automatically created by this bundle
```

Add a message handler:

```
