enniel / epochta

MIT License
0 stars 2 forks source link

Use this package #1

Closed fomvasss closed 7 years ago

fomvasss commented 7 years ago

Hey. Can not understand how to use. Show, please, an example use this package

enniel commented 7 years ago

You can use this package for laravel.

fomvasss commented 7 years ago

This enniel/epochta package does not actual?

enniel commented 7 years ago

You can also use so:

Add your private and public keys to your config/services.php:

// config/services.php
...
'epochta' => [
    'sms' => [
        'public_key' => env('EPOCHTA_SMS_PUBLIC_KEY'),
        'private_key' => env('EPOCHTA_SMS_PRIVATE_KEY'),
    ],
],
...

And then in your code:

\Enniel\Epocha\Facades\SMS::sendSMS([])