Muthofun SMS GATEWAY is a LARAVEL client for MUTHOFUN SMS Gateway API
You can install the package via composer:
composer require imrostom/muthofun
You this namespace in your controllers:
use Imrostom\Muthofun\Facade\Muthofun;
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();
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.