Download the PHP package kirschbaum/laravel-sns-subscription-queues without Composer
On this page you can find all versions of the php package kirschbaum/laravel-sns-subscription-queues. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kirschbaum/laravel-sns-subscription-queues
More information about kirschbaum/laravel-sns-subscription-queues
Files in kirschbaum/laravel-sns-subscription-queues
Package laravel-sns-subscription-queues
Short Description A Laravel package that allows the queueing system to deal with the non-laravel payload when subscribed to an AWS SNS topic.
License
Informations about the package laravel-sns-subscription-queues
Laravel SNS Subscription Queues
Under Active Development
This package is actively being developed and should be considered experimental for the time being.
Laravel Version Support
Due to some changes that were made in Laravel version 5.1.20 this package currently only supports version 5.1.20 and higher. It does not support v5.2.0 or higher at this time.
Usage
This package extends the default Illuminate\Queue\QueueServiceProvider
to handle queue payloads from SNS Topic subscriptions. It works by checking for a custom handler configuration in the event the Job doesn't meet the expected Laravel payload structure. If a custom queue handler has been configured this package then adds the necessary structure so that the queue system can process the Job.
Installation
Add the package to your project:
For now update your composer.json
then
Add the following service provider:
Publish the config file using the Artisan command:
The configuration looks like this:
Create a corresponding Laravel Job class to handle the payload:
Contributors
All versions of laravel-sns-subscription-queues with dependencies
illuminate/config Version ~5.1
illuminate/support Version ~5.1
illuminate/queue Version >=5.1.20 <5.2