alexr1712/netelipsmslaravel

1.0.6 2021-02-20 03:05 UTC

This package is auto-updated.

Last update: 2024-04-20 09:46:01 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Netelip SMS Service for Laravel 8+

Installation

You can install the package via composer:

composer require alexr1712/netelipsmslaravel
php artisan vendor:publish --provider="AlexR1712\NetelipLaravel\NetelipLaravelServiceProvider" --tag="config"

Set token on config/netelip-laravel.php

Usage

use AlexR1712\NetelipLaravel\NetelipLaravel;
$sms = new NetelipLaravel;

$sms->send('0058424XXXXXXX', 'Message Here');
/*
send method return the following 

[
     "is_sent" => true,
     "sms_id" => "1613770552.2529",
     "statusCode" => 200,
     "remainingBalance" => 4.602,
]
*/

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 alexr1712@gmail.com instead of using the issue tracker.

Credits

License

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