chancelito/vetrosms-php-sdk

There is no license information available for the latest version (1.1) of this package.

This package is to help send smses via vetro media sms platform

1.1 2020-07-28 15:39 UTC

This package is not auto-updated.

Last update: 2025-04-30 14:51:44 UTC


README

This package serves to send sms via Vetro media SMS SDK. Get an authorization token on this link by getting a account.

Requirements

PHP >= 7.2 Php-curl

Installation

$ composer require chancelito/vetrosms-php-sdk:"1.1"

Example

  <?php
  require_once __DIR__ . '/../../vendor/autoload.php';
  
  use Chancelito\VetrosmsPhpSdk\Message\VetroSms;
  
  $account_token = 'YOUR_ACCOUNT_TOKEN';
  $authorization_token = 'YOUR_AUTHORIZATION_TOKEN';
  $cell_number = 'YOUR_SA_CELL_NUMBER';
  $message = 'YOUR_MESSAGE';
  
  $obj = new VetroSms($authorization_token, $account_token);
  $send = $obj->sendSingleSms($cell_number, $message);

Contact

cshongo33@gmail.com