PHPackages                             laravel-notification-channels/aws-sns - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. laravel-notification-channels/aws-sns

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

laravel-notification-channels/aws-sns
=====================================

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel.

2.1.0(2mo ago)541.1M—4.3%102MITPHPPHP &gt;=8.3CI failing

Since Jan 14Pushed 2mo ago7 watchersCompare

[ Source](https://github.com/laravel-notification-channels/aws-sns)[ Packagist](https://packagist.org/packages/laravel-notification-channels/aws-sns)[ Docs](https://github.com/laravel-notification-channels/aws-sns)[ RSS](/packages/laravel-notification-channels-aws-sns/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (15)Used By (2)

Amazon Simple Notification Service (AWS SNS) notification channel for Laravel
=============================================================================

[](#amazon-simple-notification-service-aws-sns-notification-channel-for-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/da747aa7220c7a216e8592594535e80b45bf771ba05b798b6ab88b977477d70f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6177732d736e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/aws-sns)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/2fa1eddde2fe910a8cb8db3af511610873f81d40e538aeffd7a3d8e6cb42f3e7/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6177732d736e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/laravel-notification-channels/aws-sns)[![StyleCI](https://camo.githubusercontent.com/4cfa8a459661c535aa0cc5fdc981f04ff16a036646b53c5b52f8d3835bbd6c3f/68747470733a2f2f7374796c6563692e696f2f7265706f732f36353737323434352f736869656c64)](https://styleci.io/repos/65772445)[![Quality Score](https://camo.githubusercontent.com/b1dbe71c5768d05c96fb3b89d2db204a1aae59a1c961db5365bec4c4c863d51f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6177732d736e732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/aws-sns)[![Code Coverage](https://camo.githubusercontent.com/037f9d4f1aa7612ab7569c72e443434068e9f8331ebf6a263324d4c50d32e257/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6177732d736e732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/laravel-notification-channels/aws-sns/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/ee561f02cc4444e5d0cc386aa1bf72654236f683c9819f4972ff1c18248864b4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c61726176656c2d6e6f74696669636174696f6e2d6368616e6e656c732f6177732d736e732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/laravel-notification-channels/aws-sns)

This package makes it easy to send notifications using [AWS SNS](https://aws.amazon.com/pt/sns/) with Laravel framework. Since Laravel already ships with SES email support, this package focuses on sending only SMS notifications for now. More advanced features like support for topics could be added in the future.

Contents
--------

[](#contents)

- [Installation](#installation)
    - [Setting up the AwsSns service](#setting-up-the-aws-sns-service)
- [Usage](#usage)
    - [Available Message methods](#available-message-methods)
- [Common Problems](#common-problems)
- [Changelog](#changelog)
- [Testing](#testing)
- [Security](#security)
- [Contributing](#contributing)
- [Credits](#credits)
- [License](#license)

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

[](#installation)

You can install the package via composer:

```
composer require laravel-notification-channels/aws-sns --update-with-dependencies
```

### Setting up the AWS SNS service

[](#setting-up-the-aws-sns-service)

Add your AWS key ID, secret and default region to your `config/services.php`:

```
