superbalist / panaceaapi
此包已被 放弃 并不再维护。未建议替代包。
此包最新版本(1.0.0)没有可用的许可信息。
Panacea Mobile PHP类,用于轻松部署和集成
1.0.0
2015-10-23 07:54 UTC
Requires
- php: >=5.2.0
- ext-curl: *
- ext-reflection: *
This package is auto-updated.
Last update: 2022-07-13 19:30:59 UTC
README
Panacea Mobile PHP类,用于轻松部署和集成
Panacea Mobile是一家提供短信、USSD和推送服务的网关简化接口的通讯技术公司。
此库是Panacea Mobile编写和分发的原始PHP类http://www.panaceamobile.com/docs/__examplesource/exsource_e_elite-sms_trunk_web_examples_php_panacea_api.php_b5de023735004d26adc99a37da4721e6.html的副本。
此仓库添加了对使用composer安装的支持。
安装
composer require superbalist/panaceaapi
用法
use PanaceaMobile\PanaceaApi; $gateway = new PanaceaApi(); $gateway->setUsername('[username]'); $gateway->setPassword('[password]'); $gateway->message_send('[to number]', '[message]', '[from number]');