symfony / amazon-sns-notifier
Provides Amazon SNS integration for Symfony Notifier.
Package info
github.com/symfony/amazon-sns-notifier
Type:symfony-notifier-bridge
pkg:composer/symfony/amazon-sns-notifier
v8.1.0
2026-05-29 05:06 UTC
Requires
- php: >=8.4.1
- async-aws/sns: ^1.0
- symfony/http-client: ^7.4|^8.0
- symfony/notifier: ^7.4|^8.0
This package is auto-updated.
Last update: 2026-06-05 06:49:10 UTC
README
Provides Amazon SNS integration for Symfony Notifier.
DSN example
AMAZON_SNS_DSN=sns://ACCESS_ID:ACCESS_KEY@default?region=REGION&profile=PROFILE&sslmode=SSLMODE
where:
ACCESS_IDis your AWS access key idACCESS_KEYis your AWS access key secretREGIONis the targeted AWS region (optional, default:us-east-1)PROFILEis the name of your AWS configured profile (optional, default:default)SSLMODEhttpsis used by default. It can be changed by setting value todisable,httpwill 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')) ->subject('subject') ->messageStructure('json') // ... ; // Add the custom options to the chat message and send the message $chatMessage->options($options); $chatter->send($chatMessage);
Sponsor
This package is looking for a backer.
Help Symfony by sponsoring its development!