This package provides a laravel queue driver with support for AWS SQS push queues. This technique is used by the AWS Elastic Beanstalk worker tier environments.
Add this to you composer.json file, in the require object:
"mmanos/laravel-sqspushqueue": "dev-master"
After that, run composer install to install the package.
Add the service provider to app/config/app.php
, within the providers
array.
'providers' => array(
// ...
'Mmanos\SqsPushQueue\SqsPushQueueServiceProvider',
)
Update the existing queue.php
config file and change the sqs driver to be sqspush
. This driver will use the existing sqs config properites (key
, secret
, etc...). The main queue driver should still be sqs.
The following dependencies are needed for this package:
- AWS:
aws/aws-sdk-php