Looking to hire Laravel developers? Try LaraJobs

laravel-azure-service-bus maintained by hayrican

Description
Laravel Queue driver for Azure Service Bus
Author
Last update
2025/06/20 10:14 (dev-main)
License
Links
Downloads
1 044

Comments
comments powered by Disqus

Laravel Azure Service Bus Queue Driver

Installation

1. Install the package via Composer:

composer require hayrican/laravel-azure-service-bus

3. Configure .env file:

In your .env file, set the Azure Service Bus connection details:


AZURE_SERVICE_BUS_NAMESPACE=<your-namespace>
AZURE_SERVICE_BUS_QUEUE=<your-queue-name>
AZURE_SERVICE_KEY_NAME=<your-key-name>
AZURE_SERVICE_KEY_VALUE=<your-key>

4. Define Azure Service Bus Configuration

Update your config/queue.php file to include the following configuration for the Azure Service Bus driver:

'connections' => [
    // Other connections...

    'azure-service-bus' => [
        'driver' => 'azure-service-bus',
        'namespace' => env('AZURE_SERVICE_BUS_NAMESPACE'),
        'queue' => env('AZURE_SERVICE_BUS_QUEUE'),
        'key_name' => env('AZURE_SERVICE_KEY_NAME'),
        'key' => env('AZURE_SERVICE_KEY_VALUE'),
    ]
],

License

This project is licensed under the MIT License - see the License File for details


Author

Hayri Can BARÇIN
Email: Contact Me