2017 © Pedro Peláez
 

symfony-bundle sns-bundle

A simple Symfony2 bundle for the API for AWS SNS.

image

jplarar/sns-bundle

A simple Symfony2 bundle for the API for AWS SNS.

  • Friday, July 20, 2018
  • by jplarar
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

JplararSNSBundle

A simple Symfony2 bundle for the API for AWS SNS. Work in progress only SMS for now!!, (*1)

Setup

Step 1: Download JplararSNSBundle using composer

Add SNS Bundle in your composer.json:, (*2)

{
    "require": {
        "jplarar/sns-bundle": "dev-master"
    }
}

Now tell composer to download the bundle by running the command:, (*3)

``` bash $ php composer.phar update "jplarar/sns-bundle", (*4)



### Step 2: Enable the bundle Enable the bundle in the kernel: ``` php get('amazon_sns_client'); ?>

Example

Send new email to SNS

``` php <?php $service = $snsClient->sendSMS( 'YOUR_MESSAGE', 'PHONE_NUMBER', 'SENDER_ID' );, (*5)

$result = $service->get('MessageId');

?> ```, (*6)

The Versions