Laravel SQS FIFO provides a queue driver for Laravel.
| Package Version | Laravel Version |
|---|---|
| 2.x | Laravel 11.x, 12.x |
| 1.x | Laravel 8.x, 9.x, 10.x |
- Run
composer require culturalinfusion/laravel-sqs-fifo - Update
config/queue.phpof the application with sample fromconfig/queue.phpof 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
.fifoto queue name in application side, package takes care of it.
To run tests using PHPUnit, execute ./vendor/bin/phpunit .