All Projects → JoggApp → Laravel Aws Sns

JoggApp / Laravel Aws Sns

Licence: mit
Laravel package for the AWS SNS Events

Projects that are alternatives of or similar to Laravel Aws Sns

Laravel Natural Language
This package makes using the Google Natural API in your laravel app a breeze with minimum to no configuration, clean syntax and a consistent package API.
Stars: ✭ 119 (+395.83%)
Mutual labels:  laravel, laravel-package, package
Laravel Pdf
A Simple package for easily generating PDF documents from HTML. This package is specially for laravel but you can use this without laravel.
Stars: ✭ 79 (+229.17%)
Mutual labels:  laravel, laravel-package, package
Laravel Google Translate
This package makes using the Google Translate API in your laravel app a breeze with minimum to no configuration, clean syntax and a consistent package API.
Stars: ✭ 97 (+304.17%)
Mutual labels:  laravel, laravel-package, package
Laravel Short Url
A Laravel package to shorten urls
Stars: ✭ 127 (+429.17%)
Mutual labels:  laravel, laravel-package, package
Package Skeleton
📦 My base for PHP packages.
Stars: ✭ 6 (-75%)
Mutual labels:  laravel, laravel-package, package
Laravel Multilingual Routes
A package to handle multilingual routes in your Laravel application.
Stars: ✭ 241 (+904.17%)
Mutual labels:  laravel, laravel-package, package
Blogetc
Easily add a full Laravel blog (with built in admin panel and public views) to your laravel project with this simple package.
Stars: ✭ 198 (+725%)
Mutual labels:  laravel, laravel-package, package
Laravel Gitscrum
GitScrum is a Project Management Tool, developed to help entrepreneurs, freelancers, managers, and teams Skyrocket their Productivity with the Agile methodology and Gamification.
Stars: ✭ 2,686 (+11091.67%)
Mutual labels:  laravel, laravel-package, package
Chat
A Laravel chat package. You can use this package to create a chat/messaging Laravel application.
Stars: ✭ 710 (+2858.33%)
Mutual labels:  laravel, laravel-package
Lambda Packages
Various popular python libraries, pre-compiled to be compatible with AWS Lambda
Stars: ✭ 713 (+2870.83%)
Mutual labels:  aws, package
Eloquent Ldap
A Laravel 5.1 package that first tries to log the user against the internal database if that fails, it tries against the configured LDAP/AD server.
Stars: ✭ 19 (-20.83%)
Mutual labels:  laravel, laravel-package
Artisan View
👀 Manage your views in Laravel projects through artisan
Stars: ✭ 708 (+2850%)
Mutual labels:  laravel, package
Sweet Alert
A BEAUTIFUL, RESPONSIVE, CUSTOMIZABLE, ACCESSIBLE (WAI-ARIA) REPLACEMENT FOR JAVASCRIPT'S POPUP BOXES FOR LARAVEL
Stars: ✭ 696 (+2800%)
Mutual labels:  laravel, laravel-package
Pagarme Laravel
Pagar.me SDK for Laravel applications.
Stars: ✭ 23 (-4.17%)
Mutual labels:  laravel, package
Laravel Heyman
Declarative style of authorization and validation in laravel.
Stars: ✭ 677 (+2720.83%)
Mutual labels:  laravel, laravel-package
Laravel Caffeine
Keeping Your Laravel Forms Awake.
Stars: ✭ 723 (+2912.5%)
Mutual labels:  laravel, package
Simple Cache
An easy to use Caching trait for Laravel's Eloquent Models.
Stars: ✭ 19 (-20.83%)
Mutual labels:  laravel, laravel-package
Laravel Open Source Projects
A Web Artisan list of categorized OPEN SOURCE PROJECTS built with Laravel PHP Framework.
Stars: ✭ 676 (+2716.67%)
Mutual labels:  laravel, laravel-package
Orm
A drop-in Doctrine ORM 2 implementation for Laravel 5+ and Lumen
Stars: ✭ 712 (+2866.67%)
Mutual labels:  laravel, laravel-package
Laravel User Verification
PHP package built for Laravel 5.* to easily handle a user email verification and validate the email
Stars: ✭ 755 (+3045.83%)
Mutual labels:  laravel, laravel-package

Laravel package for the AWS SNS Events

Latest Version Total Downloads

Amazon Simple Notification Service (Amazon SNS) is a web service that coordinates and manages the delivery or sending of messages to subscribing endpoints or clients. The Amazon S3 notification feature enables you to receive notifications when certain events happen in your bucket.

This package ships with a controller that listens to the SNS notification incoming to one of your defined URL/endpoint. The controller takes care of validating the incoming request's signature & messages, confirming your endpoint's subscription to the SNS topic and also emits respective Laravel events. If you are using AWS SNS, all you have to do after installing this package is add your desired Laravel Listeners. The Listeners will automatically receive the SNS message. You are free to take control of the message after that to achieve your desired results.

Installation and Usage

  • You can install this package via composer using this command:
composer require joggapp/laravel-aws-sns
  • The package will automatically register itself.

  • You then need to pass the route to awsSnsWebhooks:

Route::awsSnsWebhooks('route-you-added-in-aws-sns-topic-subscription-console');
  • The package emits 2 events: SnsTopicSubscriptionConfirmed & SnsMessageReceived.

  • SnsTopicSubscriptionConfirmed: This event is fired once the endpoint's subscription to the SNS topic is confirmed.

  • SnsMessageReceived: This event is fired everytime your endpoint receives a message (request) from AWS SNS.

  • To use these events you will have to add the events in your app/Providers/EventServiceProvider.php

  • You can access the SNS message in your listeners listening to the SnsMessageReceived event just like you would do in any other laravel listener:

class SnsListener
{
    public function handle($event)
    {
        $event->message
    }
}

Changelog

Please see the CHANGELOG for more information about what has changed recently.

Security

If you discover any security related issues, please email them to [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see the License File for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].