authkey/authkey-php-sdk

此库将使用户能够通过authkey API发送消息

1.0 2021-02-16 06:49 UTC

This package is auto-updated.

Last update: 2024-09-16 14:33:14 UTC


README

使用Authkey API发送消息的PHP SDK

要使用此SDK发送消息,请按照以下步骤操作

  1. 使用composer安装Authkey PHP SDK: composer require authkey/authkey-php-sdk
  2. 在您的应用程序代码中引入vendor/autoload.php。
  3. 在您的应用程序代码中创建authkeyphpsdk类的对象。
  4. 调用setter方法设置authkey、手机、电子邮件、短信内容、国家代码等值。
  5. 调用发送消息方法发送消息。

参考test.php文件以获取示例。