Provides Amazon SNS integration for Symfony Notifier.

Installs: 64 955

Dependents: 0

Suggesters: 0

Security: 0

Stars: 5

Watchers: 5

Forks: 1



Provides Amazon SNS integration for Symfony Notifier.

DSN example



  • ACCESS_ID is your AWS access key id
  • ACCESS_KEY is your AWS access key secret
  • REGION is the targeted AWS region (optional, default: us-east-1)
  • PROFILE is the name of your AWS configured profile (optional, default: default)
  • SSLMODE https is used by default. It can be changed by setting value to disable, http will be used

Adding Options to a Chat Message

With an Amazon SNS Chat Message, you can use the AmazonSnsOptions class to add message options.

use Symfony\Component\Notifier\Message\ChatMessage;
use Symfony\Component\Notifier\Bridge\AmazonSns\AmazonSnsOptions;

$chatMessage = new ChatMessage('Contribute To Symfony');

$options = (new AmazonSnsOptions('topic_arn'))
    // ...

// Add the custom options to the chat message and send the message