zacksleo/phpsms

sms agent extension for phpsms

1.1.2 2017-11-06 08:08 UTC

This package is auto-updated.

Last update: 2024-11-08 07:18:12 UTC


README

Latest Stable Version Total Downloads License styleci Build Status Scrutinizer Code Quality Code Coverage Build Status

互亿无线短信接口, 基于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);