accessafya / infobip
此包已被废弃,不再维护。未建议替代包。
Infobip API
0.1.0
2020-08-06 13:16 UTC
Requires
- php: ~7.2
- guzzlehttp/guzzle: ^7.0
Requires (Dev)
- phpunit/phpunit: >=8.0
- squizlabs/php_codesniffer: ^3.0
This package is auto-updated.
Last update: 2022-03-10 09:29:00 UTC
README
infobip API 包装器。
安装
通过 Composer
$ composer require accessafya/infobip
使用方法
// Initial with authentication $infobip = new AccessAfya\Infobip( $username, $password, $senderId, $baseUrl );
短信
发送短信
$response = $infobip->sms->send( "text_message", "phone_number" "scheduled_time" // Optional );
电子邮件
发送电子邮件
// Coming soon $response = $infobip->email->send();
测试
$ composer test
安全
如果您发现任何与安全相关的问题,请通过电子邮件联系 作者,而不是使用问题跟踪器。
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 获取更多信息。