blackfyre / bitnet-gateway
Laravel/Lumen Service Provider for BITNET SMS
v1.0.2
2021-05-26 13:25 UTC
Requires
- php: ^7.3|^8.0
- guzzlehttp/guzzle: ^6.0 || ^7.0
- illuminate/support: ^8.0
Requires (Dev)
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: 3.*
README
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.