Looking to hire Laravel developers? Try LaraJobs

sendsms-laravel maintained by sendsms

Description
Use our SMS shipping solution to deliver the right information at the right time.
Author
Last update
2023/10/20 13:23 (dev-stable)
License
Downloads
19 443

Comments
comments powered by Disqus

SendsmsLaravel

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.