-
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.phpcontroller file inapplications/controllers/directory - Copy
Msg91.phplibrary file inapplications/librariesdirectory - Enter Msg91 Authentication key
(Authkey)andSender IDonline 11,12 - Copy
message_form.phpview 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.9to3.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
screenshotsfolder. - Optimized Error handling.
