Laravel SQS FIFO provides a queue driver for Laravel.
- 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.
To run tests using PHPUnit, execute ./vendor/bin/phpunit
.