bravedave / sms
SMS - 为 bravedave/DVC 定制的短信发送模块
v24.02.01
2024-02-27 03:45 UTC
Requires
- php: >=7.0
- bravedave/dvc: *
- bravedave/green: *
- giggsey/libphonenumber-for-php: *
This package is auto-updated.
Last update: 2024-09-27 05:15:25 UTC
README
示例
$account = new sms\account;
$account->enabled = TRUE;
$account->countrycode = 'AU';
$account->providor = 'smsbroadcast';
$account->accountid = '<your account name>';
$account->accountpassword = '<your password>';
$account->fromnumber = '<your mobile number>';
$sms = new sms\sms( $account);
print $sms->balance();
print $sms->send( '<to number>', 'hello world');