PHP code example of joggapp / laravel-aws-sns
1. Go to this page and download the library: Download joggapp/laravel-aws-sns library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
joggapp / laravel-aws-sns example snippets
Route::awsSnsWebhooks('route-you-added-in-aws-sns-topic-subscription-console');
class SnsListener
{
public function handle($event)
{
$event->message
}
}