apimaster 快速 SMS 网络服务

v1.0.1 2020-02-17 13:09 UTC

This package is auto-updated.

Last update: 2024-09-17 23:07:18 UTC


README

apimaster 提供的快速 SMS 网络服务

安装

通过 Composer

$ composer require apimaster/sms

使用方法

<?php

include 'vendor/autoload.php';

use APIMaster\SMS\SMS;

SMS::setApiKey('<YOUR_API_KEY');

$sms = SMS::send('0933xxxx957', 106, ['code' => 4859]);

print_r($sms);

<YOUR_API_KEY> 替换为您提供的 API 密钥。

文档

您可以在 postman 中查看文档。别忘了检查端点示例。

许可证

此库是开源包,许可协议为 MIT 许可证。