Download the PHP package cooperav/sms-aero-v2-laravel without Composer
On this page you can find all versions of the php package cooperav/sms-aero-v2-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package sms-aero-v2-laravel
SmsAero-v2-laravel
SMS Aero for laravel API version 2.
Installation
Step #1
 composer require cooperav/sms-aero-v2-laravelL
Step #2
 Read the documentation
 https://smsaero.ru/description/api/
Usage
Add dependency
use CooperAV\SmsAero\SmsAero;
Send message
// Create SmsAero instance.
$oSMSAero = new SmsAero('login','api_key');
// We can use it with config file f.e.
// config('smsaero.login') and config('smsaero.api_key')
// Set receiver's phone number.
$phone_number = '111111111';
// Set message content.
$message = 'SMS Aero';
// Sending channels.
$type = 'DIRECT'; // In docuimentation describe other types.
// To send message to another countries need use 'INTERNATIONAL' type.
// Send message.
$response = $oSMSAero->send($phone_number, $message, $type);
// Default response data -> json. However we can get response in XML format.
All versions of sms-aero-v2-laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
The package cooperav/sms-aero-v2-laravel contains the following files
Loading the files please wait ....