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

v2.3.1 2024-04-04 03:16 UTC

This package is auto-updated.

Last update: 2024-04-04 03:20:14 UTC


README

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.