Download the PHP package shipu/muthofun-sms-gateway without Composer
On this page you can find all versions of the php package shipu/muthofun-sms-gateway. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package muthofun-sms-gateway
MUTHOFUN SMS GATEWAY
muthofun-sms-gateway is a PHP client for MUTHOFUN SMS Gateway API. This package is also support Laravel and Lumen.
Installation
Go to terminal and run this command
Wait for few minutes. Composer will automatically install this package for your project.
For Laravel
Below Laravel 5.5 open config/app
and add this line in providers
section
For Facade support you have add this line in aliases
section.
Then run this command
Configuration
This package is required two configurations.
- username = your username which provide by MUTHOFUN.
- password = your password which provide by MUTHOFUN
muthofun-sms-gateway is take an array as config file. Lets services
For Laravel
This package is also support Laravel. For laravel you have to configure it as laravel style.
Go to app\muthofun.php
and configure it with your credentials.
Usages
Its very easy to use. This packages has a lot of functionalities and features.
Send SMS to a single user
In PHP:
In Laravel:
Send same message to all users
Send SMS to more user
Send SMS with SMS template
Suppose you have to send SMS to multiple users but you want to mentions their name dynamically with message. So what can you do? Ha ha this package already handle this situations. Lets see
Here this messege will sent as every users with his name and promo code like:
8801670420420
- Hello Nahid , Your promo code is: 12348801970420420
- Hello Rana , Your promo code is: 32138801770420420
- Hello Shipu , Your promo code is: 50008801570420420
- Hello Kaiser , Your promo code is: 12348801870420420
- Hello Eather , Your promo code is: 7642
Change Number Prefix
Default number prefix is 88
;
Debugging
Default value is false
. When debug true
it's stop sending SMS and return sending query strings.
Response Data auto parse
Default value is false
.
Disable Template
Default value is true
.
Response Data
Response :
Highly inspired by Apiz Package and Sslwireless SMS Gateway
Special Thanks to Salahuddin Rana
Support on Beerpay
Hey dude! Help me out for a couple of :beers:!