blackfyre/bitnet-gateway

Laravel/Lumen Service Provider for BITNET SMS

v1.0.2 2021-05-26 13:25 UTC

This package is auto-updated.

Last update: 2024-10-26 21:14:14 UTC


README

Latest Version on Packagist Build Status Quality Score Total Downloads

Laravel/Lumen Service provider for the BitNet SMS Service.

Installation

You can install the package via composer:

composer require blackfyre/bitnet-gateway

Lumen

In your bootstrap/app.php add the service provider:

$app->register(\Blackfyre\BitnetGateway\BitnetGatewayServiceProvider::class);

.env

BITNET_USERNAME=YOUR_BITNET_USER
BITNET_PASSWORD=YOUR_BITNET_PWD

Usage

Lumen

$smsId = app('bitnet-gateway')->sendSMS('36#########', 'test');
$smsStatus = app('bitnet-gateway')->queryStatus($smsId)

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 gnick666@gmail.com 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.