2017 © Pedro Peláez
 

project sms16

php api to sms gate sms16.ru

image

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

The README.md

SMS16 library

php API to SMS gate http://sms16.ru, (*1)

Install via composer

"require": {
    "rumbu/sms16": "dev-master"
}

Usage with Symfony

  1. Create Sms folder in your bundle;, (*2)

  2. Copy file smsProxy.php to this folder;, (*3)

  3. Setup service in services.yml:, (*4)

    sms.proxy:
        class: You\YourBundle\Sms\smsProxy
        arguments:
            login: %sms_login%
            password: %sms_password%
            sender: %sms_sender%
    
  4. Add parameters to parameters.yml, (*5)

    parameters:
        sms_login: login
        sms_password: password
        sms_sender: SendeR
    
  5. Send sms:, (*6)

    $this->container->get('sms.proxy')->send('+Phone', 'Text', 'Sender');

The Versions

10/07 2013

dev-master

9999999-dev

php api to sms gate sms16.ru

  Sources   Download

MIT

The Requires

  • php >=5.3.3