hayrican / laravel-azure-service-bus
Laravel Queue driver for Azure Service Bus
1.0.1
2025-01-03 11:25 UTC
Requires
- php: ^7.3|^8.0
- illuminate/container: ^5.0|^6.0|^7.0|^8.0
- illuminate/contracts: ^5.0|^6.0|^7.0|^8.0
- illuminate/queue: ^5.0|^6.0|^7.0|^8.0
- illuminate/support: ^5.0|^6.0|^7.0|^8.0
README
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