enne / voip-cheap-sms
此包允许您轻松通过VoipCheap服务发送短信
1.0.0
2016-11-09 17:00 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2024-09-23 13:49:03 UTC
README
此简单包允许您通过voipcheap服务发送短信
使用composer添加依赖项
composer require enne/voip-cheap-sms:dev-master
在您的代码中使用它
use \VoipCheapSMS\VoipCheap;
use \VoipCheapSMS\Message;
$vc = new VoipCheap("voipcheap_user","voipcheap_password","voipcheap_from");
echo $vc->send(Message::builder()->to("+prefix_destinationNumber")->text("This is the text of the sms!"));
注意:此项目是快速而粗糙的测试,用于测试向Packagist发布包
#许可证 MIT