Download the PHP package scaytrase/symfony-sms-interface without Composer
On this page you can find all versions of the php package scaytrase/symfony-sms-interface. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download scaytrase/symfony-sms-interface
More information about scaytrase/symfony-sms-interface
Files in scaytrase/symfony-sms-interface
Package symfony-sms-interface
Short Description Symfony Bundle SMS sending service
License MIT
Informations about the package symfony-sms-interface
scaytrase/symfony-sms-delivery-bundle
This Symfony bundle provides basic service for sending short messages. This bundle does not provide you any finished implementation for communicating the SMS gateway. To use it you have use some transport implementation or implement a transport on your own. See usage section for known implementations
Features
Current features
- [x] Service and configurable transports
- [x] Ability to disable delivery via config for testing purposes
- [x] Ability to force redirect messages for testing purposes
- [x] Profiling via Sf2 Toolbar
- [x] Spooling and delayed sending
Planned features
- [ ] Bulk sending
Installation
This bunde could be installed via Composer
app/AppKernel.php
update your kernel bundle requirements as follows:
Configuration
Below is the configuration example and their default values
Usage
To use this interface you must create a message class implementing ShortMessageInterface
and create the implementation of the
TransportInterface
that delivers your message to end point sms gateway.
You can refer my WebSMS gateway implementation as a reference.
Example
Standalone usage
Despite of the fact that this library is designed as Symfony bundle it could be used as standalone library for sending short messages. You should just instantiate sender service on your own.
All versions of symfony-sms-interface with dependencies
symfony/dependency-injection Version ~2.3|~3.0
symfony/config Version ~2.3|~3.0
symfony/http-kernel Version ~2.3|~3.0
symfony/http-foundation Version ~2.3|~3.0