project sms16
php api to sms gate sms16.ru
rumbu/sms16
php api to sms gate sms16.ru
- Wednesday, July 10, 2013
- by rumbu
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
SMS16 library
php API to SMS gate http://sms16.ru, (*1)
Install via composer
"require": {
"rumbu/sms16": "dev-master"
}
-
Create Sms
folder in your bundle;, (*2)
-
Copy file smsProxy.php
to this folder;, (*3)
-
Setup service in services.yml
:, (*4)
sms.proxy:
class: You\YourBundle\Sms\smsProxy
arguments:
login: %sms_login%
password: %sms_password%
sender: %sms_sender%
-
Add parameters to parameters.yml, (*5)
parameters:
sms_login: login
sms_password: password
sms_sender: SendeR
-
Send sms:, (*6)
$this->container->get('sms.proxy')->send('+Phone', 'Text', 'Sender');
dev-master
9999999-dev
php api to sms gate sms16.ru
Sources
Download
MIT
The Requires