culturalinfusion / laravel-sqs-fifo
Laravel SQS FIFO
v1.1.1
2024-02-27 07:56 UTC
Requires
- php: ^8.0
- aws/aws-sdk-php: ^3.239.9
- illuminate/queue: ^10.43.0
Requires (Dev)
- orchestra/testbench: ^8.21
- phpunit/phpunit: ^10.5
This package is auto-updated.
Last update: 2025-02-27 10:01:41 UTC
README
Laravel SQS FIFO
Table of contents
Intro
Laravel SQS FIFO provides a queue driver for Laravel.
How to use
- Run
composer require culturalinfusion/laravel-sqs-fifo
- Update
config/queue.php
of the application with sample fromconfig/queue.php
of package (Currently Laravel does not support automated config merge for multi-dimensional configuration array, so needs to be done manually):
- SQS endpoint structure is
https://sqs.${AWS_REGION}.amazonaws.com/${prefix}/${queue_name_prefix}${queue}${suffix}.fifo
- No need to add
.fifo
to queue name in application side, package takes care of it.
Testing
To run tests using PHPUnit, execute ./vendor/bin/phpunit
.