imrostom / muthofun
Laravel MuthoFun SMS Payment Gateway API
1.1
2021-03-06 03:25 UTC
Requires
- php: ^7.1
- illuminate/support: ^6.0
Requires (Dev)
- orchestra/testbench: ^4.0
- phpunit/phpunit: ^8.0
This package is auto-updated.
Last update: 2024-11-06 11:22:09 UTC
README
Muthofun SMS GATEWAY is a LARAVEL client for MUTHOFUN SMS Gateway API
Installation
You can install the package via composer:
composer require imrostom/muthofun
Usage
You this namespace in your controllers:
use Imrostom\Muthofun\Facade\Muthofun;
Configuration
Publish muthofun config file and configure your mutofun information.
return [ 'username' => 'imrostom', 'password' => '123456', 'unicode' => 1, // 1 or 0 'database' => true, 'demo' => true, 'version' => '1.0', ];
To send message single user
$response = Muthofun::messages(['mobile'=> '+0145465', 'message'=> 'a demo message'])->send();
To send message mutiple user
$response = Muthofun::messages([['mobile'=> '+0145465', 'message'=> 'a demo message'], ['mobile'=> '+0145465', 'message'=> 'a demo message']])->send();
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 rostomali4444@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.