sendsms/sendsms-laravel

Use our SMS shipping solution to deliver the right information at the right time.

v0.8.1 2023-10-20 11:23 UTC

This package is auto-updated.

Last update: 2024-05-20 12:31:51 UTC


README

Total Downloads

Installation

Via Composer

$ composer require sendsms/sendsms-laravel

Usage

In your .env file, add this variables:

SENDSMS_USERNAME 
SENDSMS_PASSWORD

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.

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

How to send a message

Include the Message namespace at the beggining of your php file

use SendSMS\SendsmsLaravel\API\Message;

to call the function, run:

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

Security

If you discover any security related issues, please email support@sendsms.ro instead of using the issue tracker.