alibayat/laravel-sqs-fifo

dev-master / 1.x-dev 2023-04-11 11:15 UTC

This package is auto-updated.

Last update: 2024-04-11 13:36:56 UTC


README

License

Laravel SQS FIFO

Table of contents

Intro

Laravel SQS FIFO provides a queue driver for Laravel.

How to use

  1. Run composer require culturalinfusion/laravel-sqs-fifo
  2. Update config/queue.php of the application with sample from config/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 .