Skip to content

otezz/Jatis-SMS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jatis-SMS Build Status

Jatis SMS gateway API wrapper

Installation

Simply run composer require otezz/jatis-sms

Usage

Send SMS

$jatis = new \Otezz\Jatis\Sms($jatisUsername, $jatisPassword);
$response = $jatis->send([
  'destination' => $destinationNumber,
  'message'     => $message,
  'sender'      => $registeredSenderOnJatis,
  'division'    => $registeredDivisionOnJatis,
  'batchname'   => $batchName,
  'pic'         => $personInCharge,
]);

$response will return an array with following structure

code      => Status code from Jatis
message   => Response message from Jatis
messageId => Message ID from (Alphanumeric format and only exist if status code is 1)

About

Jatis SMS gateway API wrapper

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages