Skip to content

sendSMS-RO/sendsms-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

SendsmsLaravel

Total Downloads

Installation

Via Composer

$ composer require sendsms/sendsms

Usage

If you do not have an account, you can register here. If you need to see a full list of examples of our package, please go to our API Documentation. To call a specifica function, include the namespace of that coresponding function. The functions are placed under the corresponding namespace, as in the API documentation, with one exception, you can call the execute_multiple function from any namespace

Namespace
SendSMS\API\AddressBook
SendSMS\API\Batch
SendSMS\API\Blocklist
SendSMS\API\HLR
SendSMS\API\Message
SendSMS\API\MNP
SendSMS\API\User
SendSMS\API\Other
SendSMS\API\ApiKey

How to send a message

Include the Message namespace at the beggining of your php file

use SendSMS\API\Message;

to call the function, run:

$api = new Message();
$api->setUsername('username');
$api->setPassword('password');
$api->message_send('40727363767', 'This is a message', '1898');