Iranin sms webapi
Ghasedak sms webservice package for php.
The easiest way to install Behat is by using Composer:
composer require ghasedak/laravel:"dev-master"
Add the Ghasedak\Laravel\ServiceProvider provider to the providers array in config/app.php:
'providers' => [ ... Ghasedak\GhasedakServiceProvider, ],
Then add the facade to your aliases array:
'aliases' => [ ... 'Ghasedak' => Ghasedak\GhasedakFacade::class, ],
You need a Ghasedak account. Register and get your API key.
Create an instance from
Ghasedak class with your API key:
$api = new \Ghasedak\GhasedakApi( env(GHASEDAKAPI_KEY));
Send some sms:
api.SendSimple( "09xxxxxxxxx", "Hello World!" );