Amazon Simple Notification Service for Yii 2.1
The preferred way to install this extension is through composer.
php composer.phar require powerkernel/yii-aws-sns "*"
to the require section of your
To use this extension, simply add the following code in your application configuration:
'components' => [
'sns' => [
'__class' => powerkernel\sns\AwsSns::class, 'key' => 'your aws sns key', 'secret' => 'your aws sns secret', ],
You can then call AWS SNS functions as follows:
For further instructions refer to the AWS Documentation page