PHPackages                             microsoftazure/azure-service-bus-messenger - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. microsoftazure/azure-service-bus-messenger

ActiveSymfony-bundle[Queues &amp; Workers](/categories/queues)

microsoftazure/azure-service-bus-messenger
==========================================

Provides a Azure Service Bus transport for Symfony Messenger

1.0.0(1y ago)03MITPHPPHP &gt;=8.1CI passing

Since Jan 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rachedbelhadj/symfony-azure-service-bus-messenger)[ Packagist](https://packagist.org/packages/microsoftazure/azure-service-bus-messenger)[ RSS](/packages/microsoftazure-azure-service-bus-messenger/feed)WikiDiscussions main Synced 1mo ago

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

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require microsoftazure/azure-service-bus-messenger
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require microsoftazure/azure-service-bus-messenger
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    MicroSoftAzure\AzureServiceBusMessenger\AzureServiceBusMessenger::class => ['all' => true],
];
```

Configuration
=============

[](#configuration)

The Azure Service Bus DSN looks like this, where `sb-endoint` is usually `.servicebus.windows.net`

```
# .env
MESSENGER_TRANSPORT_DSN=azure-service-bus://

```

The transport has a number of options:

OptionDescriptionDefaultshared\_access\_key\_nameASB access key nameRootManageSharedAccessKeyshared\_access\_keyASB access keyentity\_pathTopic or Queuename of transportsubscriptionName of subscriptionwait\_timeLong polling duration in secondsYou can change the `entity_path` at runtime using the `AzureServiceBusEntityPathStamp`:

```
$eventBus->dispatch($someMessage, [new AzureServiceBusEntityPathStamp('someEntityPath')]);
```

You can control the `entity_path` used on consume with:

```
php bin/console messenger:consume my_transport --queues=someEntityPath

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance41

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

488d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89fdc12861404e20748e2b0adc967802752da366178f3802d57a99ee798bdba9?d=identicon)[rachedbelhadj](/maintainers/rachedbelhadj)

---

Top Contributors

[![rachedbelhadj](https://avatars.githubusercontent.com/u/59143427?v=4)](https://github.com/rachedbelhadj "rachedbelhadj (2 commits)")

### Embed Badge

![Health badge](/badges/microsoftazure-azure-service-bus-messenger/health.svg)

```
[![Health](https://phpackages.com/badges/microsoftazure-azure-service-bus-messenger/health.svg)](https://phpackages.com/packages/microsoftazure-azure-service-bus-messenger)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
