ay4t / watzap-id
PHP 模块,用于集成 Watzap.id
v1.0.0
2022-04-29 23:59 UTC
Requires
- php-curl-class/php-curl-class: dev-master
README
Watzap.id PHP 模块
此包是为集成由 Watzap.id 提供的 WhatsApp 通知而构建和开发的。
安装
使用 composer 安装此 PHP 包
composer require ay4t/watzap-id
或者,您可以通过在 composer.json 中添加以下行来添加我的 GitHub 仓库:
composer config minimum-stability dev composer config repositories.watzap vcs git@github.com:ay4t/watzap-id composer require ay4t/watzap-id
使用/示例
require_once 'vendor/autoload.php'; $sendText = new \Ay4t\WatzapId\SendText(); $sendText->setApiKey('YOUR-API-KEY'); $sendText->setNumberKey('YOUR-NUMBER-KEY'); $sendText->setPhone('6285791555506'); $sendText->setMessage('isi pesan Anda'); $result = $sendText->result(); var_dump($result);
贡献
我们始终欢迎贡献!
有关开始方式的详细信息,请参阅 contributing.md
。
请遵守此项目的 行为准则
。