Skip to content

scaytrase/symfony-websms-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

symfony-websms-bridge

Latest Stable Version Total Downloads Latest Unstable Version License

Monthly Downloads Daily Downloads

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)

About

WebSMS transport for SMS delivery bundle

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages