expirenza / sms-helper
EXPIRENZA API的消息助手
1.0.1
2021-11-15 10:33 UTC
Requires
- php: >=7.2.0
This package is auto-updated.
Last update: 2024-09-15 17:06:18 UTC
README
通过EXPIRENZA短信网关发送短信的助手
安装
- 启动所需的所有
代码
克隆
- 使用
https://github.com/EXPIRENZA/sms-helper
将此仓库克隆到您的本地机器上
Composer
$ composer require expirenza/sms-helper "^1.0.0"
如何使用
<?php
$helper = new SmsHelper('some api token');
$helper->send('+10000000000', 'Text with max length is 350 characters');
或者
<?php
$helper = new SmsHelper('some api token');
$extId = generateSomeUuid();
$helper->send('+10000000000', 'Text with max length is 350 characters', $extId);
支持
在以下位置联系我!