Skip to content

techhimalayasoft/himalayasms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Himalaya SMS Laravel Package

https://packagist.org/packages/techhimalayasoft/himalayasms

Himalaya SMS Laravel Package can be used to send SMS via Himalaya SMS.

Changing Config

php artisan vendor:publish --provider="techhimalayasoft\HimalayaSMS\HimalayaSMSServiceProvider"

How to send an SMS

// Using Default 
use HimalayaSMS;

Send an SMS

$senderid = ''
$campaign = ''
$routeid = ''
$key = ''
$to = '98########'; // Setting Phone Number
$text = 'Test message.'; // Setting Message

// Send the message
$sms_message = HimalayaSMS::send($to, $text, $senderid, $campaign, $routeid, $key);
// This will return a pseudo JSON response, you will need to json_decode it.

License

The MIT License (MIT). Please see License File for more information.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages