PHPackages                             mvjacobs/laravel-sns-sqs-sub-pub - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. mvjacobs/laravel-sns-sqs-sub-pub

ActiveLibrary[Queues &amp; Workers](/categories/queues)

mvjacobs/laravel-sns-sqs-sub-pub
================================

A simple Laravel service provider which adds a new queue connector to handle SNS subscription queues.

013.0k1PHP

Since Jan 5Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mvjacobs/laravel-sns-sqs-sub-pub)[ Packagist](https://packagist.org/packages/mvjacobs/laravel-sns-sqs-sub-pub)[ RSS](/packages/mvjacobs-laravel-sns-sqs-sub-pub/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

AWS SQS SNS Subscription Queue and publisher
============================================

[](#aws-sqs-sns-subscription-queue-and-publisher)

simple extension to the [Illuminate/Queue](https://github.com/illuminate/queue) queue system used in [Laravel](https://laravel.com) and [Lumen](https://lumen.laravel.com/).

Using this connector allows [SQS](https://aws.amazon.com/sqs/) messages originating from a [SNS](https://aws.amazon.com/sns/) subscription to be worked on with Illuminate\\Queue\\Jobs\\SqsJob.

This is especially useful in a miroservice architecture where multiple services subscribe to a common topic with their queues and publish an event to SNS.

Requirements
------------

[](#requirements)

- Laravel (tested with version 5.8)
- or Lumen (tested with version 5.8)

Installation
------------

[](#installation)

You can install the package via composer

```
composer require jeylabs/laravel-sns-sqs-sub-pub
```

You can optionally publish the config file with:

```
php artisan vendor:publish --provider="Mvjacobs\SnsSqsPubSub\SnsSqsPubSubServiceProvider" --tag="config"
```

This is the contents of the published config file:

```
