vdbelt/inmobile-sms-api
最新稳定版本:v2.0.2
Composer 安装命令:
composer require vdbelt/inmobile-sms-api
包简介
PHP wrapper for interaction with the Inmobile SMS API
README 文档
README
The Inmobile SMS API Client Library can be used for interaction with the Inmobile API.
Installation
Require this package with composer:
composer require vdbelt/inmobile-sms-api
Basic usage
<?php use Inmobile\Text; use Inmobile\Gateway; use Inmobile\Message; use Inmobile\Recipient; $gateway = Gateway::create('apiKey'); $message = Message::create('Hello world!')->from('My App')->to('4512345678'); $gateway->addMessage($message); $gateway->send(); // Other capabilities: $text = (new Text('Hello World'))->flash()->encoding('utf-8'); $recipients = [ (new Recipient('4512345678'))->withMessageId('my-id'), '450000000' ]; Message::create($text)->to($recipients)->from('My App')->doNotRespectBlacklist()->scheduleAt(date_create('+1 hour'));
Reporting Issues
Report issues using the Github Issue Tracker or email martin@vandebelt.dk.
Copyright
Copyright Martin van de Belt. See LICENSE for details.
统计信息
- 总下载量: 64
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-17