PHPackages                             onethirtyone/aws-sns-handler - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. onethirtyone/aws-sns-handler

ActiveLibrary[HTTP &amp; Networking](/categories/http)

onethirtyone/aws-sns-handler
============================

Laravel package to handle incoming SNS messages

1.1(6y ago)072MITPHPCI failing

Since Apr 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/robbfountain/aws-sns-handler)[ Packagist](https://packagist.org/packages/onethirtyone/aws-sns-handler)[ RSS](/packages/onethirtyone-aws-sns-handler/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Handle AWS SNS Messages in your Laravel Application
===================================================

[](#handle-aws-sns-messages-in-your-laravel-application)

[![Build Status](https://camo.githubusercontent.com/21e12d388cfa797284118f72116150727b13b96653e991476de8a030c78709c1/68747470733a2f2f7472617669732d63692e6f72672f726f6262666f756e7461696e2f6177732d736e732d68616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/robbfountain/aws-sns-handler) [![StyleCI](https://camo.githubusercontent.com/41462c77eb68f5b8932d88100ef131cda8be2fb8bc60b403b489b5c0ec349877/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3235323237383732372f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/252278727)

This is a Laravel package for validating and handling AWS SNS messages

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

[](#installation)

You can install the package with composer

```
composer require onethirtyone/aws-sns-handler

```

CSRF
----

[](#csrf)

Since SNS messages are sent via a HTTP Post Request you will need to add your webhook route to your `VerifyCsrfToken.php`

```
/**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
        '/webhook'
    ];
```

Usage
-----

[](#usage)

Edit your `routes/web.php` and add a route to your the webhook handler

```
Route::any('callback', 'OneThirtyOne\Sns\Controllers\SnsController@handle');
```

### Events

[](#events)

The package will fire an `SnsSubscriptionConfirmation` event when a new subscription is added and needs to be confirmed and will fire an `SnsEvent` event when a message is delivered after confirmation.

You should listen for these events in your application.

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

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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

2229d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e4316bb9bae35cc0d9535ad772232aa07ebfc0c9d14aa6120c241cc1dad9cc8?d=identicon)[131Studios](/maintainers/131Studios)

---

Top Contributors

[![robbfountain](https://avatars.githubusercontent.com/u/3590383?v=4)](https://github.com/robbfountain "robbfountain (15 commits)")

---

Tags

laravelSNS

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/onethirtyone-aws-sns-handler/health.svg)

```
[![Health](https://phpackages.com/badges/onethirtyone-aws-sns-handler/health.svg)](https://phpackages.com/packages/onethirtyone-aws-sns-handler)
```

###  Alternatives

[renoki-co/laravel-aws-webhooks

Easy webhook handler for Laravel to catch AWS SNS notifications for various services.

73248.5k](/packages/renoki-co-laravel-aws-webhooks)[binary-cats/laravel-mailgun-webhooks

Handle Mailgun webhooks in a Laravel application

64299.4k](/packages/binary-cats-laravel-mailgun-webhooks)[joggapp/laravel-aws-sns

Laravel package for the SNS events by AWS

3171.8k](/packages/joggapp-laravel-aws-sns)[api-platform/laravel

API Platform support for Laravel

59126.4k6](/packages/api-platform-laravel)[ankurk91/laravel-ses-webhooks

Handle AWS SES webhooks in Laravel php framework

2534.2k](/packages/ankurk91-laravel-ses-webhooks)[laravel-shift/curl-converter

A command line tool to convert curl requests to Laravel HTTP requests.

935.3k](/packages/laravel-shift-curl-converter)

PHPackages © 2026

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