superbalist / php-panaceamobile
此包已被废弃且不再维护。未建议替代包。
通过 Panacea Mobile API 发送 SMS 的客户端
1.0.0
2016-10-07 09:48 UTC
Requires
- php: >=5.6.0
- guzzlehttp/guzzle: ^6.2
Requires (Dev)
- mockery/mockery: ^0.9.5
- phpunit/phpunit: ^5.6
This package is auto-updated.
Last update: 2024-08-12 00:37:43 UTC
README
通过 Panacea Mobile API 发送 SMS 的客户端
安装
composer require superbalist/php-panaceamobile
集成
想要快速开始?查看以下集成示例
用法
$username = 'your_username'; $password = 'your_password'; $guzzleClient = new \GuzzleHttp\Client(); $client = new \Superbalist\PanaceaMobile\PanaceaMobileAPI($guzzleClient, $username, $password); $response = $client->sendMessage('+27000000000', 'This is a test message.'); var_dump($response);