zacksleo / phpsms
sms agent extension for phpsms
Installs: 1 831
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 1
Open Issues: 0
Requires
- toplan/phpsms: ^1.7.2
This package is auto-updated.
Last update: 2024-11-08 07:18:12 UTC
README
互亿无线短信接口, 基于phpsms
详细文档见 PhpSms文档
用法示例
Sms::scheme('Ihuyi', [
'100 backup',
'agentClass' => 'zacksleo\PhpSms\IhuyiAgent'
]);
Sms::config([
'Ihuyi' => [
'apiKey' => 'apikey',
'secretKey' => 'secretkey'
]
]);
$res = Sms::make()->to('手机号码')->content('短信内容')->send(false);