PHPackages                             wouterlagerwerf/laravel-sns-queue-driver - 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. wouterlagerwerf/laravel-sns-queue-driver

ActiveLibrary

wouterlagerwerf/laravel-sns-queue-driver
========================================

A package that adds support for SNS as a queue driver for Laravel. Handy for microservice messaging

v1.0.5(1y ago)014[1 PRs](https://github.com/WouterLagerwerf/laravel-sns-queue-driver/pulls)MITPHPPHP ^8.2

Since May 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/WouterLagerwerf/laravel-sns-queue-driver)[ Packagist](https://packagist.org/packages/wouterlagerwerf/laravel-sns-queue-driver)[ RSS](/packages/wouterlagerwerf-laravel-sns-queue-driver/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Laravel SNS Queue Driver
========================

[](#laravel-sns-queue-driver)

The Laravel SNS Queue Driver package extends Laravel's queue system to support Amazon SNS (Simple Notification Service), enabling seamless integration with microservice messaging architectures.

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

[](#installation)

You can install the package via Composer:

```
composer require wout/laravel-sns-queue-driver
```

Configuration
-------------

[](#configuration)

After installing the package, add the following configuration to your `config/queue.php` file:

```
'connections' => [
    'sns' => [
        'driver' => 'sns',
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
        'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
        'queue' => env('SQS_QUEUE', 'default'),
        'suffix' => env('SQS_SUFFIX'),
        'after_commit' => false,
        'endpoint' => env('AWS_ENDPOINT'),
        'sns_topic_arn' => env('SNS_TOPIC_ARN', 'arn:aws:sns:us-east-1:your-account-id:topic'),
    ],
],
```

Make sure to replace the placeholder values with your actual AWS credentials and SNS topic ARN.

AWS Configuration
-----------------

[](#aws-configuration)

For this package make sure that you have setup a SNS topic and a SQS queue that is subscribed to the SNS topic. The SNS topic ARN should be set in the `sns_topic_arn` configuration value.

Usage
-----

[](#usage)

Once configured, you can use the SNS queue driver just like any other queue driver in Laravel:

```
use Illuminate\Support\Facades\Queue;

Queue::push(function ($job) {
    // Process the job
    $job->delete();
});
```

Testing
-------

[](#testing)

You can run the package tests with:

```
composer test
```

Contributing
------------

[](#contributing)

Contributions are welcome! If you find a bug or want to suggest a new feature, feel free to open an issue or submit a pull request.

License
-------

[](#license)

This package is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

713d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/11dbd186c89656fee9efbf5ba19762f279ddfcd4c9d11c448cceb6332ec8ed24?d=identicon)[WouterLagerwerf](/maintainers/WouterLagerwerf)

---

Top Contributors

[![WouterLagerwerf](https://avatars.githubusercontent.com/u/43637154?v=4)](https://github.com/WouterLagerwerf "WouterLagerwerf (13 commits)")

### Embed Badge

![Health badge](/badges/wouterlagerwerf-laravel-sns-queue-driver/health.svg)

```
[![Health](https://phpackages.com/badges/wouterlagerwerf-laravel-sns-queue-driver/health.svg)](https://phpackages.com/packages/wouterlagerwerf-laravel-sns-queue-driver)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
