Download the PHP package pawprintdigital/laravel-queue-raw-sqs without Composer
On this page you can find all versions of the php package pawprintdigital/laravel-queue-raw-sqs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pawprintdigital/laravel-queue-raw-sqs
More information about pawprintdigital/laravel-queue-raw-sqs
Files in pawprintdigital/laravel-queue-raw-sqs
Package laravel-queue-raw-sqs
Short Description Provides ability to process raw SQS messages on a Laravel queue
License MIT
Informations about the package laravel-queue-raw-sqs
Laravel Queue Driver For Raw SQS Messages
This queue driver will allow you to take raw JSON data from an SQS queue that was received outside of Laravel (for example from an SNS subscription) and map it to the correct job handler inside Laravel.
Requirements
Laravel 5.6+
Installation
You can install the package through Composer with the following command
Service Provider
The service provider should register with Laravel automatically through Laravel 5.6's package discovery feature.
If this doesn't work, you can manually register the service
provider by adding the following line to the providers
array in your config/app.php
file.
Configuration
To configure the package, add the following element
to the connections
array in config/queue.php
Routes
Messages off the queue are mapped by their SNS topic name. You will need
to modify the routes
element of the array you added previously to
map a SNS Topic Name to a Job.
Note: You can use wildcards (*) in the topic name if you want to ignore suffixes or prefixes in the Topic Name.
By default, if there is no route set in the configuration file,
the driver will attempt to map the TopicName to the same class
name in App\Jobs. For example a TopicName of UserCreated would
attempt to map to App\Jobs\UserCreated::class if there's no
entry in the routes
array.
All versions of laravel-queue-raw-sqs with dependencies
illuminate/database Version >=5.6
illuminate/support Version >=5.6
illuminate/queue Version >=5.6
aws/aws-sdk-php Version ~3.0