alexeevdv/yii2-sms-ge-unicard
Composer 安装命令:
composer require alexeevdv/yii2-sms-ge-unicard
包简介
README 文档
README
Yii2 wrapper for Geordian UNICARD sms provider
Installation
The preferred way to install this extension is through composer.
Either run
$ composer require alexeevdv/yii2-sms-ge-unicard "~1.0.0"
or add
"alexeevdv/yii2-sms-ge-unicard": "~1.0.0"
to the require section of your composer.json file.
Configuration
Via application component
'components' => [ 'sms' => [ 'class' => \alexeevdv\sms\ge\unicard\Provider::class, // If you want to ensure only Georgia phone numbers would be sent //'destinationChecker' => \alexeevdv\sms\ge\unicard\GeorgiaDestinationChecker::class, ], ],
Usage
Yii::$app ->sms ->compose('view', ['attribute' => 'value']) ->setTo('123412341234') ->setFrom('Sender') ->send() ;
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-05-16