scaytrase/symfony-websms-bundle
Composer 安装命令:
composer require scaytrase/symfony-websms-bundle
包简介
Bridge for WebSMS sending transport
README 文档
README
This is the bridge implementing a web transport for scaytrase/symfony-sms-interface for WebSMS sending service with this bindings
Features
Available
- Single message sending
- Http(Form) and JSON drivers
- Balance could be extracted from connection after each send
Planned
- Bulk message sending
- Sender alias (not supported in the library at the moment)
Installation
Bundle could be installed via composer
composer.json
composer require scaytrase/symfony-websms-bundle:~1.0
app/AppKernel.php
Enable the bundle by including it into your application kernel (AppKernel.php):
$bundles = array( //.... new ScayTrase\Utils\WebSMSBundle\WebSMSBundle(), //.... );
Configuration
For now bundle own only essential properties from the underlying library. They could be configured as following (example and default values):
web_sms: connection: login: null # Login is required to send messages. secret: null # Tech secret or account password (both work) is required to send messages mode: 0 # 0 is for production mode. 1 is for testing mode (valid credentials required). -1 is for debug purpose (credentials not needed, sending does not occures, valid credentials not required)
统计信息
- 总下载量: 407
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-01