PHPackages                             jadamavecool/laravel-azure-servicebus - 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. jadamavecool/laravel-azure-servicebus

ActiveLibrary[Queues &amp; Workers](/categories/queues)

jadamavecool/laravel-azure-servicebus
=====================================

Extending the Laravel queue to support the Microsoft Azure Service Bus Queues &amp; topics for php 7.4

04PHP

Since Oct 19Pushed 3y agoCompare

[ Source](https://github.com/ju4nr3v0l/laravel-azure-servicebus-topic)[ Packagist](https://packagist.org/packages/jadamavecool/laravel-azure-servicebus)[ RSS](/packages/jadamavecool-laravel-azure-servicebus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Windows Azure Servicebus driver for Laravel
===========================================

[](#windows-azure-servicebus-driver-for-laravel)

### Overview

[](#overview)

The library provides support for both Service Bus queues and topic based messaging (topics haven't been tested yet but should work). Default is Service Bus queues, for topic based messaging UseTopic should be set to true. The package should be auto discovered on Laravel &gt; 5.6

[![Latest Stable Version](https://camo.githubusercontent.com/36dbb41bd32c29a696f4e2e96c00ade324c11ababbb795977bc5ee3538245b47/68747470733a2f2f706f7365722e707567782e6f72672f4a6164616d617665636f6f6c2d736f6674776172652f6c61726176656c2d617a7572652d736572766963656275732f762f737461626c65)](https://packagist.org/packages/Jadamavecool-software/laravel-azure-servicebus)[![Total Downloads](https://camo.githubusercontent.com/4f0b6ce4504112c99f4427dff785e151705925afb3db06bffe3c3907e6429284/68747470733a2f2f706f7365722e707567782e6f72672f4a6164616d617665636f6f6c2d736f6674776172652f6c61726176656c2d617a7572652d736572766963656275732f646f776e6c6f616473)](https://packagist.org/packages/Jadamavecool-software/laravel-azure-servicebus)[![License](https://camo.githubusercontent.com/da7fb010efb2baed6c7bbc81914f5da45a7313a75c7f54fe9d2a7e07efab648f/68747470733a2f2f706f7365722e707567782e6f72672f4a6164616d617665636f6f6c2d736f6674776172652f6c61726176656c2d617a7572652d736572766963656275732f6c6963656e7365)](https://packagist.org/packages/Jadamavecool-software/laravel-azure-servicebus)

#### Installation

[](#installation)

Require this package in your `composer.json`:

```
"Jadamavecool-software/laravel-azure-servicebus": ""

```

Run composer update!

After composer update is finished you need to add ServiceProvider to your `providers` array in `app/config/app.php` (this is only needed for laravel &lt; 5.6):

```
'Jadamavecool\LaravelAzureServicebusTopic\Support\Serviceprovider',

```

add the following to the `connection` array in `app/config/queue.php`, and fill out your own connection data from the Azure Management portal:

```
'azureservicebus' => array(
    'driver'       => 'azureservicebus',
    'endpoint'     => 'https://*.servicebus.windows.net',
    'SharedAccessKeyName' => '',
    'SharedAccessKey' => 'primary key',
    'queue'        => '',
    'UseTopic' => true/false (default false)
)

```

#### Usage

[](#usage)

The library provides support for both Service Bus queues and topic based messaging. Default is Service Bus queues, for topic based messaging UseTopic should be set to true. Once you completed the configuration you can use Laravel Queue API. If you do not know how to use Queue API, please refer to the official Laravel [documentation](http://laravel.com/docs/queues).

From laravel Queue documentation, something like this should work:

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

artisan worker should be started as per Laravel's official documentation:

```
php artisan queue:listen azureservicebus --queue=queue-name
```

### Azure Topic Support

[](#azure-topic-support)

There is no support (yet) of automatically creating subscriptions on the Azure Topic. A known subscription identifier is instead used for the subscription and needs to be created manually on the service bus. The identifier is `6c7dd8f3e3e145a5b9782b41d741c951`

### Version compatiblity

[](#version-compatiblity)

The package uses semantic versioning and tries to match Laravel versions.

- Use version 2.x if you are on Laravel 5.5
- Use version 5.x if you are on Laravel 5.6-5.8
- 6.x if you are on Laravel 6.x
- 7.x if you are on Laravel 7.x
- dev-master if you are on Laravel 8.x (see compat notes below)

### Laravel 8x Support

[](#laravel-8x-support)

\[*-Warning-*\] This package relies on Windows-Azure SDK for PHP which has been abandoned and hasn't had an upgrade in last 2 years. This has resulted in incompatible dependencies (especiailly with GuzzleHttp - see #2). We've decided to fork the windows-azure package and just keep pieces of Service Bus. Since the fork is still not published (there are still few unit tests that fail and have to be verified if they fail due to invalid test cases or due to broken functionality), the only way to include this package for Laravel 8.x is by usng dev-master. composer.json

```
"repositories": [{
        "type": "git",
        "url": "https://github.com/sn123/azure-sdk-for-php.git"
    }],
"require: {
        ...
        "Jadamavecool-software/laravel-azure-servicebus": "dev-master"
},
```

Rest everything should work the same as older laravels.

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbb45e9a88c38f4e8bbb7758b9841110afec2c4c24777430709b1c77d77c1dc4?d=identicon)[jadamavecool](/maintainers/jadamavecool)

---

Top Contributors

[![sn123](https://avatars.githubusercontent.com/u/13231773?v=4)](https://github.com/sn123 "sn123 (25 commits)")[![ju4nr3v0l](https://avatars.githubusercontent.com/u/13452821?v=4)](https://github.com/ju4nr3v0l "ju4nr3v0l (8 commits)")[![linG5821](https://avatars.githubusercontent.com/u/33996782?v=4)](https://github.com/linG5821 "linG5821 (2 commits)")

### Embed Badge

![Health badge](/badges/jadamavecool-laravel-azure-servicebus/health.svg)

```
[![Health](https://phpackages.com/badges/jadamavecool-laravel-azure-servicebus/health.svg)](https://phpackages.com/packages/jadamavecool-laravel-azure-servicebus)
```

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)

PHPackages © 2026

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