Skip to content

imrostom/muthofun

Repository files navigation

MUTHOFUN SMS GATEWAY

Latest Version on Packagist Build Status Quality Score Total Downloads

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 [email protected] instead of using the issue tracker.

Credits

License

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