bravedave / sms
SMS - SMS Sending module for 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: 2025-02-27 06:09:06 UTC
README
- Works with https://smsbroadcast.com.au
- could be developed with https://www.nexmo.com/
Example
$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');