Skip to content

Commit

Permalink
0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
oakhope committed Jun 2, 2017
1 parent 28a7a7c commit 540b5d5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
AliyunSMS
---------

阿里云短信发送
阿里云短信发送sdk封装

## 更新记录

Expand All @@ -16,8 +16,9 @@ composer require oakhope/aliyun-sms
### 使用

```php
use Oakhope\AliyunSMS;
$aliyunSms = new \Oakhope\AliyunSMS('accessId', 'accessKey', 'endPoint', 'topicName', 'signName');

$aliyunSms->sendOne('templateCode', 'phone', ['paramA' => 'valueA', 'paramB' => 'valueB']);
```

## License
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "oakhope/aliyun-sms",
"type": "library",
"description": "阿里云短信发送",
"description": "阿里云短信发送sdk封装",
"keywords": ["AliyunSMS", "aliyun", "SMS"],
"homepage": "https://github.com/oakhope/aliyun-sms",
"license": "MIT",
Expand Down

0 comments on commit 540b5d5

Please sign in to comment.