teknasyon-teknoloji/aws-ses-notification
最新稳定版本:2.1.1
Composer 安装命令:
composer require teknasyon-teknoloji/aws-ses-notification
包简介
Process SES Notifications
README 文档
README
Handle AWS Ses notifications e.g. bounced, complaint or delivery. Update: Handle AWS Event Publishing Notification e.g. Bounce, Click, Complaint, DeliveryDelay, Open, Reject ...
Requirements
- PHP 8.0+
- aws/aws-sdk-php
- aws/aws-php-sns-message-validator
Usage
- Create your Handler class that implements \Teknasyon\AwsSesNotification\IHandler
- Set AWS Ses notification url at AWS Panel
- Add notification handle to your dispatcher
<?php use Teknasyon\AwsSesNotification; use Aws\Sns\MessageValidator; try { \Teknasyon\AwsSesNotification\Dispatcher::handle($myhandlerObj, new MessageValidator()); } catch (\Exception $e) { //Error handling } // ...
Security
You should protect your notification url e.g. token check from GET param, IP restriction if possible
Installation
You can use Composer to install :
composer require teknasyon-teknoloji/aws-ses-notifications
Or you can add to composer.json file :
"teknasyon-teknoloji/aws-ses-notification": "dev-master"
TODO
- HANDLER EXAMPLES
Contributing
You can contribute by forking the repo and creating pull requests. You can also create issues or feature requests.
Disclaimer
Your AWS SES and SNS usage my be charged. Please check AWS pricing pages.
License
This project is licensed under the MIT license. LICENSE file can be found in this repository.
统计信息
- 总下载量: 55.29k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 1
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-19