-
If the SMS delivers successfully, then it will show the success alert box.
-
If the SMS not delivered, then it will show the error alert box.
- Clone the repository
git clone https://github.com/anburocky3/MSG91-SMS-Gateway-Codeigniter-integration.git
- Open Terminal, type
cd MSG91-SMS-Gateway-Codeigniter-integration
- Copy
Welcome.php
controller file inapplications/controllers/
directory - Copy
Msg91.php
library file inapplications/libraries
directory - Enter Msg91 Authentication key
(Authkey)
andSender ID
online 11,12
- Copy
message_form.php
view file inapplications/views/
directory - Customize the controller logic according to your web/app.
- Welcome.php Controller - Displays the message_form.php view page.
- Msg91.php library file - Takecares all msg91 sms sending logic. More info on MSG91 SMS for developers site
- Welcome.php/help Method - Displays the quick integration help page.
Note: Never forget to autoload the library & helper files on applications/config/autoload.php
file.
- Upgraded from
3.1.9
to3.1.10
- Upgraded to Codeigniter 3.1.9
- Upgraded from
SendSMS (GET)
toSendSMS_V2 (POST)
- Added:
CheckSMSBalance()
method to check balance. Now, you can send message only if it has balance credit. - Updated Screenshots in
screenshots
folder. - Optimized Error handling.