Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scaytrase/symfony-websms-bundle
WebSMS transport for SMS delivery bundle
https://github.com/scaytrase/symfony-websms-bundle
sms sms-client websms
Last synced: 1 day ago
JSON representation
WebSMS transport for SMS delivery bundle
- Host: GitHub
- URL: https://github.com/scaytrase/symfony-websms-bundle
- Owner: scaytrase
- License: mit
- Created: 2014-06-30T13:52:08.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-15T06:30:34.000Z (over 8 years ago)
- Last Synced: 2024-12-04T08:38:57.292Z (19 days ago)
- Topics: sms, sms-client, websms
- Language: PHP
- Homepage: https://github.com/scaytrase/symfony-sms-interface
- Size: 43 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# symfony-websms-bridge
[![Latest Stable Version](https://poser.pugx.org/scaytrase/symfony-websms-bundle/v/stable.svg)](https://packagist.org/packages/scaytrase/symfony-websms-bundle) [![Total Downloads](https://poser.pugx.org/scaytrase/symfony-websms-bundle/downloads.svg)](https://packagist.org/packages/scaytrase/symfony-websms-bundle) [![Latest Unstable Version](https://poser.pugx.org/scaytrase/symfony-websms-bundle/v/unstable.svg)](https://packagist.org/packages/scaytrase/symfony-websms-bundle) [![License](https://poser.pugx.org/scaytrase/symfony-websms-bundle/license.svg)](https://packagist.org/packages/scaytrase/symfony-websms-bundle)
[![Monthly Downloads](https://poser.pugx.org/scaytrase/symfony-websms-bundle/d/monthly.png)](https://packagist.org/packages/scaytrase/symfony-websms-bundle)
[![Daily Downloads](https://poser.pugx.org/scaytrase/symfony-websms-bundle/d/daily.png)](https://packagist.org/packages/scaytrase/symfony-websms-bundle)This is the bridge implementing a web transport for [scaytrase/symfony-sms-interface](https://github.com/scaytrase/symfony-sms-interface) for [WebSMS](http://www.websms.ru/) sending service with [this bindings](https://github.com/scaytrase/websms-php)
## Features
### Available
- [x] Single message sending
- [x] Http(Form) and JSON drivers
- [x] 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
```bash
composer require scaytrase/symfony-websms-bundle:~1.0
```### app/AppKernel.php
Enable the bundle by including it into your application kernel (`AppKernel.php`):
```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):
```yaml
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)
```