This is the bridge implementing a web transport for scaytrase/symfony-sms-interface for WebSMS sending service with this bindings
- Single message sending
- Http(Form) and JSON drivers
- Balance could be extracted from connection after each send
- Bulk message sending
- Sender alias (not supported in the library at the moment)
Bundle could be installed via composer
composer require scaytrase/symfony-websms-bundle:~1.0
Enable the bundle by including it into your application kernel (AppKernel.php
):
$bundles = array(
//....
new ScayTrase\Utils\WebSMSBundle\WebSMSBundle(),
//....
);
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)