techhimalayasoft/himalayasms

Laravel Package to send SMS via Himalaya SMS

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/techhimalayasoft/himalayasms

dev-main 2021-07-28 08:31 UTC

This package is auto-updated.

Last update: 2025-12-28 18:04:47 UTC


README

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.