5818959/smstraffic-client

SMSTraffic HTTP API 的 PHP 封装器

v0.5.1 2019-12-17 14:06 UTC

README

用法

请参阅 examples/ 目录。

测试端点

您可以使用测试端点来测试您的应用程序,而不是使用实际的 SmsTraffic HTTP API。

php -S localhost:8080 -t examples/

然后使用 https://:8080/test_endpoint.php 作为 SmsTraffic HTTP API 的 URL。

所有 send 收到的消息都将记录到 examples/messages.log 文件中。