PHPackages                             ignited/laravel-sns-broadcaster - 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. ignited/laravel-sns-broadcaster

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

ignited/laravel-sns-broadcaster
===============================

Sns Messages as queues using extended laravel sqs driver.

v1.1.1(2y ago)023MITPHPPHP &gt;=7.4 &lt;8.4

Since Mar 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ignited/laravel-sns-broadcaster)[ Packagist](https://packagist.org/packages/ignited/laravel-sns-broadcaster)[ Docs](https://github.com/ignited/laravel-sns-broadcaster)[ RSS](/packages/ignited-laravel-sns-broadcaster/feed)WikiDiscussions master Synced 2d ago

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

Broadcast Events as SNS Topic
=============================

[](#broadcast-events-as-sns-topic)

[![Packagist](https://camo.githubusercontent.com/32d4d4eed7060516f6d66ee279806c22ab33b83f27f7859c0b7f17e6f8883429/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f762f69676e697465642f6c61726176656c2d736e732d62726f6164636173746572)](https://packagist.org/packages/ignited/laravel-sns-broadcaster)[![GitHub tag](https://camo.githubusercontent.com/70f39cf0cb89575a56e8c8415b64f136a66da7c05d92a5a439d776470c08c663/68747470733a2f2f62616467656e2e6e65742f6769746875622f7461672f69676e697465642f6c61726176656c2d736e732d62726f6164636173746572)](https://github.com/ignited/laravel-sns-broadcaster/releases)[![License](https://camo.githubusercontent.com/6588ebaae6da9414fed29c76be2f5f82ebfbb3adcb378385ef0910760f07d0aa/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f6c6963656e73652f69676e697465642f6c61726176656c2d736e732d62726f6164636173746572)](LICENSE.txt)[![Downloads](https://camo.githubusercontent.com/5ac56bc0f94884b0b0a26c8990e9108079ed1f0c5ef192a959df253ee4f72fc6/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f69676e697465642f6c61726176656c2d736e732d62726f6164636173746572)](https://packagist.org/packages/ignited/laravel-sns-broadcaster/stats)

*(Original forked from [maxgaurav/laravel-sns-broadcaster](https://github.com/maxgaurav/laravel-sns-broadcaster) but this appears to be abandoned)*

The package allows you to broadcast laravel events as sns topic.

The queue also processes standard jobs pushed via laravel.

This package is a great use cases for applications beings deployed to microservices.

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

[](#requirements)

- PHP &gt;= 7.4
- Laravel &gt;= 8
- SNS in AWS

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

[](#installation)

Install using composer

```
composer require ignited/laravel-sns-broadcaster
```

The package will automatically register its service provider.

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

[](#configuration)

### Driver setup

[](#driver-setup)

Update your **.env** use the broadcasting driver

```
BROADCAST_DRIVER=sns

```

### Environment Setup

[](#environment-setup)

```
TOPIC_SUFFIX=-dev #leave it blank, if you are trying to deploy base

```

### Broadcaster Configuration Setup

[](#broadcaster-configuration-setup)

In **config/broadcasting.php** add the following driver setup

```
return [

    'null' => [
        'driver' => 'null',
     ],

    'sns' => [
        'driver' => 'sns',
        'region' => env('AWS_DEFAULT_REGION'),
        'key' => env('AWS_ACCESS_KEY_ID'),
        'secret' => env('AWS_SECRET_ACCESS_KEY'),
        'suffix' => env('TOPIC_SUFFIX', '-dev'),
        'arn-prefix' => env('TOPIC_ARN_PREFIX', 'arn:aws:sns:us-east-2:123345666:') // note the arn prefix contains colon

    ],
];
```

Event setup
-----------

[](#event-setup)

In your events implement the **ShouldBroadcast** interface. Then set the topic name to be return through **broadcastOn** method.

```
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;

class SampleEvent implements ShouldBroadcast
{

    /**
     * @inheritDoc
     */
    public function broadcastOn()
    {
        return "you-topic-name"; // the topic without the prefix and suffix. Example user-created. If -dev is suffix then it will automatically appended
    }
}
```

License
-------

[](#license)

The [MIT](https://opensource.org/licenses/MIT) License.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 59.3% 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 ~765 days

Total

3

Last Release

763d ago

PHP version history (2 changes)v1.0.0PHP ^7.2

v1.1.1PHP &gt;=7.4 &lt;8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1505496?v=4)[Alex Whiteside](/maintainers/alexw23)[@alexw23](https://github.com/alexw23)

---

Top Contributors

[![alexw23](https://avatars.githubusercontent.com/u/1505496?v=4)](https://github.com/alexw23 "alexw23 (16 commits)")[![maxgaurav](https://avatars.githubusercontent.com/u/10531584?v=4)](https://github.com/maxgaurav "maxgaurav (8 commits)")[![ankurk91](https://avatars.githubusercontent.com/u/6111524?v=4)](https://github.com/ankurk91 "ankurk91 (3 commits)")

---

Tags

laravelawsSNSBroadcasting

### Embed Badge

![Health badge](/badges/ignited-laravel-sns-broadcaster/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M200](/packages/laravel-ai)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[api-platform/laravel

API Platform support for Laravel

58171.6k14](/packages/api-platform-laravel)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M132](/packages/laravel-pulse)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)

PHPackages © 2026

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