2017 © Pedro Peláez
 

library smsaero

A simple API provider for smsaero.ru

image

klucherev/smsaero

A simple API provider for smsaero.ru

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

smsaero

A simple smsaero.ru API provider for laravel 4, (*1)

Requirements

  • Laravel 4

Installation

In the require key of composer.json file add the following, (*2)

"klucherev/smsaero": "1.0-dev"

Run the Composer update comand, (*3)

$ composer update

In your config/app.php add 'Klucherev\Smsaero\SmsaeroServiceProvider' to the end of the $providers array, (*4)

'providers' => array(

    'Illuminate\Foundation\Providers\ArtisanServiceProvider',
    'Illuminate\Auth\AuthServiceProvider',
    ...
    'Klucherev\Smsaero\SmsaeroServiceProvider',

),

Configuration

Run, (*5)

$ php artisan config:publish klucherev/smsaero

This will generate config file in /app/config/packages/klucherev/smsaero that you will need to edit., (*6)

Code Examples

// get balance
$balance = Smsaero::getBalance();

// send SMS to
$sms = Smsaero::send($to, $text, $from, $date);

License

MIT License., (*7)

Copyright 2015 Klucherev Alexey, (*8)

The Versions

05/02 2015

dev-master

9999999-dev

A simple API provider for smsaero.ru

  Sources   Download

MIT

The Requires

 

laravel sms smsaero