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

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

goavega-software/laravel-azure-servicebus
=========================================

Extending the Laravel queue to support the Microsoft Azure Service Bus Queues &amp; topics.

7.0.0(5y ago)416.7k5[2 issues](https://github.com/goavega-software/laravel-azure-servicebus-topic/issues)MITPHPPHP &gt;=7.1.10

Since Nov 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/goavega-software/laravel-azure-servicebus-topic)[ Packagist](https://packagist.org/packages/goavega-software/laravel-azure-servicebus)[ RSS](/packages/goavega-software-laravel-azure-servicebus/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (5)Versions (15)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/183e7e1a6eb3ced43f69d41dc5f6b740a1851d97b0f5fa92931594cb9fe8b4f5/68747470733a2f2f706f7365722e707567782e6f72672f676f61766567612d736f6674776172652f6c61726176656c2d617a7572652d736572766963656275732f762f737461626c65)](https://packagist.org/packages/goavega-software/laravel-azure-servicebus)[![Total Downloads](https://camo.githubusercontent.com/899383f84689ff0ec492fcbf9371b67dcc78af6284e627c58fb4c8bd85303187/68747470733a2f2f706f7365722e707567782e6f72672f676f61766567612d736f6674776172652f6c61726176656c2d617a7572652d736572766963656275732f646f776e6c6f616473)](https://packagist.org/packages/goavega-software/laravel-azure-servicebus)[![License](https://camo.githubusercontent.com/94cc259af981766d676bf4c5cc86564f00d4ce1b9e29de33c0b44f8f7d1fbc43/68747470733a2f2f706f7365722e707567782e6f72672f676f61766567612d736f6674776172652f6c61726176656c2d617a7572652d736572766963656275732f6c6963656e7365)](https://packagist.org/packages/goavega-software/laravel-azure-servicebus)

#### Installation

[](#installation)

Require this package in your `composer.json`:

```
"goavega-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):

```
'Goavega\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: {
        ...
        "goavega-software/laravel-azure-servicebus": "dev-master"
},
```

Rest everything should work the same as older laravels.

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

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

Every ~82 days

Recently: every ~59 days

Total

14

Last Release

2077d ago

Major Versions

1.4.0 → 2.02018-11-08

2.0 → 3.02020-02-19

3.0 → 5.62020-02-27

5.6.2 → 6.0.02020-10-19

6.0.1 → 7.0.02020-10-19

PHP version history (2 changes)1.0.0PHP &gt;=7.0.10

3.0PHP &gt;=7.1.10

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28382174?v=4)[Goavega Software](/maintainers/goavega-software)[@goavega-software](https://github.com/goavega-software)

---

Top Contributors

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

---

Tags

azurelaravelphpqueue-driversservice-buslaravelazurequeuesservicebus

### Embed Badge

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

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

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k89.4M575](/packages/laravel-passport)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.1k91.3M280](/packages/laravel-horizon)[illuminate/database

The Illuminate Database package.

2.8k54.1M11.1k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

9782.1M162](/packages/laravel-ai)

PHPackages © 2026

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