ustadev / eskiz-sms
There is no license information available for the latest version (v0.0.1) of this package.
Yii2. ustadev.uz
v0.0.1
2023-10-17 18:56 UTC
Requires
- ext-curl: *
README
Installation
composer require ustadev/eskiz-sms
Or
{
"require": {
"ustadev/eskiz-sms": "dev-main"
}
}
Example
<?php
use ustadev\sms\Auth;
use ustadev\sms\SmsMessage;
include_once "vendor/autoload.php";
$test = new Auth(
"test@gmail.com",
"test"
);
$token = $test->getToken();
$message = new SmsMessage();
$message->setToken($token);
$response = $message->sendMessage(
"+998*********",
"ustadev.uz"
);
print_r($response);