powerkernel/yii-aws-sns 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

powerkernel/yii-aws-sns

最新稳定版本:1.0.0

Composer 安装命令:

composer require powerkernel/yii-aws-sns

包简介

Amazon Simple Notification Service for Yii

README 文档

README

Amazon Simple Notification Service for Yii 3.0

Latest Stable Version Total Downloads GitHub license

Installation

The preferred way to install this extension is through composer.

Either run

composer require powerkernel/yii-aws-sns "*"

or add

"powerkernel/yii-aws-sns": "*"

to the require section of your composer.json file.

Usage

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:

Yii::$app->sns->client->publish($arg);
// ...

For further instructions refer to the AWS Documentation page

统计信息

  • 总下载量: 2.22k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 6
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2018-05-31