Download the PHP package christoph-kluge/bref-sqs-laravel without Composer
On this page you can find all versions of the php package christoph-kluge/bref-sqs-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download christoph-kluge/bref-sqs-laravel
More information about christoph-kluge/bref-sqs-laravel
Files in christoph-kluge/bref-sqs-laravel
Package bref-sqs-laravel
Short Description Laravel adapter for bref
License MIT
Informations about the package bref-sqs-laravel
Serverless Queues for Laravel on AWS Lambda (SQS)
Do you have scaling problems with your laravel queues? Install, deploy and bother less!
Thanks to the severless approach it's very easy to scale parts of your software. This projects adds native laravel queue support.
Thanks to brefphp/bref
and serverless/serverless
which do the heavy lifing here.
Supported bref versions
Version | Tag | Status |
---|---|---|
>=1.3 | ^2.0 | supported |
1.2.x | ^1.0 | supported |
1.1.x | ^0 | untested - perhaps supported |
0.5.x | 0.0.1 | supported |
Supported laravel versions
Laravel Version | Tag | Status |
---|---|---|
9.x | ^2.0 | supported |
8.x | ^1.0 and ^2.0 | supported |
7.x | 0.* | supported |
6.x | 0.* | supported |
5.8 | 0.* | supported |
< 5.8 | - | unknown |
Install
To install via Composer, use the command below. It will automatically detect the latest version and bind it with ^.
This package will automatically register the ServiceProvider within your laravel application.
Usage instructions
- Configure your application to use SQS queues (please refer to the official laravel documentation)
- Install this package through composer
- Add the example
artisan.php
to the root directory of your project - Update your
serverless.yml
with a new handler using theartisan.php
Example artisan.php
Example serverless.yml
TODOs
- [ ] Test FIFO queues
- [ ] Partial failures should not "re-send" new messages, instead we should delete successful messages and throw an exception if at least 1 job failed inside the batchsize
- [ ] (In case the above point will work - this becames obsolete) Dead-Letter-Queue support (native by reading the AWS settings or custom?)
References / Links / Insights
Useful links and insights about this topic: