numero2 / contao-notification_center-aws-sns
Integration of AWS SNS as a notification gateway for Contao 4 with Notification Center
Installs: 25
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 0
Open Issues: 0
Type:contao-bundle
pkg:composer/numero2/contao-notification_center-aws-sns
Requires
- aws/aws-sdk-php: ^3.92
- contao/core-bundle: ^4.13.0
- terminal42/notification_center: ^1.7
Requires (Dev)
- contao/manager-plugin: ^2.0
Conflicts
- contao/core: *
- contao/manager-plugin: <2.0 || >=3.0
This package is auto-updated.
Last update: 2025-10-31 00:23:52 UTC
README
About
The package adds AWS SNS to the Notification Center as a gateway.
System requirements
Installation
- Install via Contao Manager or Composer (composer require numero2/contao-notification_center-aws-sns)
- Run a database update via the Contao-Installtool or using the contao:migrate command.
- Create a SMS (Amazon Web Services SNS)gateway in the Notification Center
How to generate API keys in AWS
- Log in to the AWS Management Console
- Select a Supported Region from the top right of the console
- Switch to the IAMService
- Select Policiesand chooseCreate policy
- Switch to the JSONtab and see the example below for a policy which can be used
- Save the policy and switch to Usersand clickCreate user
- In Permissions optionsselectAttach policies directlyand choose the Policy created before
- Click Nextand thenCreate user
- Back in the overview of users select the newly created user and switch to the tab Security credentials
- In the section Access keysclick the buttonCreate access key
- Choose the option Otherand clickNext, you can skip thedescription tagand chooseCreate access key
- Make sure to save the generated Access keyand theSecret access keyfor later configuration in Contao
- Click on Doneto finish the process
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "sns:Publish"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}
🚨 Important information about phone number format
AWS requires the recipient phone number to be in E.164 format (e.g +49123456789). For this purpose this extension provides a custom Input validation option called Phone number (E.164) for the form generator.
For a better user experience we suggest to use a small JavaScript called International Telephone Input which makes sure the inserted number matches the format.