Skip to content

lbhurtado/sms

Repository files navigation

SMS component

Latest Version on Packagist Build Status Quality Score Total Downloads

Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky.

Installation

You can install the package via composer:

composer require lbhurtado/sms

modify environment vairables

ENGAGESPARK_API_KEY=
ENGAGESPARK_ORGANIZATION_ID=
ENGAGESPARK_SENDER_ID=

Usage

use LBHurtado\SMS\Facades\SMS;

$mobile = '+639171234567';
$message = 'The quick brown fox...';
$amount = 25;
$senderId = 'TXTCMDR';

SMS::channel('engagespark')
    ->from($senderId)
    ->to($mobile)
    ->content($message)
    ->send()
    ->topup(25)
    ;

Testing

composer test

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email lester@hurtado.ph instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Laravel Package Boilerplate

This package was generated using the Laravel Package Boilerplate.

About

Driver-based SMS component in Laravel inspired by the tutorial of Orobo Lucky

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages