rutgerkirkels/smsclient
Composer 安装命令:
composer require rutgerkirkels/smsclient
包简介
Use this SMS client to send text messages through various providers, like VoipCheap
关键字:
README 文档
README
by Rutger Kirkels
Installation
Use Composer to install the library:
$ composer require rutgerkirkels/smsclient
Usage
<?php use RutgerKirkels\SMSclient\Client; // Initialize the client to send a message through VoipCheap $client = new Client('VoipCheap'); // Add your credentials $client->setCredentials(array('username' => '<username>', 'password' => '<password>')); // Set the recipients telephone number in international format $client->setRecipient('0031641443860'); // Set the text you want to send $client->setMessage('zomaar een tekst'); $client->send(); ?>
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-20