Skip to content

bellalMohamed/victory-link-sms-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Victory Link Bulk SMS API

Installing Package

The recommended way to install is through Composer.

composer require bellal/victory-link-sms

How to use

<?php

use Bellal\VictoryLinkSMS\VictoryLink;

$message = new VictoryLink([
    'username' => 'YOUR_USERNAME',
    'password' => 'YOUR_PASSWORD',
    'sender' => 'YOUR_SENDER',
    'language' => 'MESSAGE LANGUAGE ex: e',
]);

$message->send([
    'to' => '+201111111111',
    'message' => "Your Message Goes Here",
]);

Get response message

$message->response()->getMessage();

Get response code

$message->response()->getCode();