Download the PHP package digitalclaim/azure-queue-laravel without Composer
On this page you can find all versions of the php package digitalclaim/azure-queue-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digitalclaim/azure-queue-laravel
More information about digitalclaim/azure-queue-laravel
Files in digitalclaim/azure-queue-laravel
Package azure-queue-laravel
Short Description Azure Storage Queue for Laravel based on triggered Azure Functions.
License MIT
Homepage https://github.com/milo/azure-queue-laravel
Informations about the package azure-queue-laravel
This is my package azure-queue-laravel
Azure Storage Queue for Laravel. This works fundamentally different than the normal Laravel queue worker. We will push items to the storage queue as usual, but instead of constant pulling with something like queue:liste
we use Azure Storage Queue trigger to call a Azure Function. The Azure Function will then call our Laravel app with the job payload to process it. There is no need to run a queue:work/listen
command.
This package is inspired by stackkit/laravel-google-cloud-tasks-queue and based on squigg/azure-queue-laravel.
Warning: Currently we do not save failed jobs in any way. However, it's possible to use Laravel queue callbacks to do so.
Installation
You can install the package via composer:
You can publish the config file with:
With the config it is possible to set a custom repository for the payload. This is usefull when one has to work with messages > 64kb (Azure Limit). This is the contents of the published config file:
Some example for a custom payload repository:
Usage
- You already have setup your Azure App Service and Storage Account
-
Add new queue connection in
config/queue.php
-
Set environment variables
- Trigger Azure Function (nodejs) for new queue items (see https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-storage-queue-trigger)
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- MiloTischler
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of azure-queue-laravel with dependencies
illuminate/contracts Version ^10.0
nesbot/carbon Version ^2.72
spatie/laravel-package-tools Version ^1.14.0
squigg/azure-queue-laravel Version ^11.0