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

This package is auto-updated.

Last update: 2024-10-31 00:23:46 UTC


README

wakatime

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);