Skip to content

Integrating International SMS Gateway, MSG91 for latest Codeigniter 3.1.10 with Bootstrap 4

Notifications You must be signed in to change notification settings

jpsnifty/MSG91-SMS-Gateway-Codeigniter-integration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# MSG91-SMS-Gateway-Codeigniter-integration (Latest)

#Screenshots Overview

1. Enter SMS text and recipent number whom you want to send. You can enter multiple numbers separated by Comma.

With UserInterface

  1. If the SMS delivers successfully, then it will show the success alert box. IF SMS Sent, Status shown

  2. If the SMS not delivered, then it will show the error alert box.

Quick steps to integrate to your web/app on the go!

  1. Clone the repository git clone https://github.com/anburocky3/MSG91-SMS-Gateway-Codeigniter-integration.git
  2. Open Terminal, type cd MSG91-SMS-Gateway-Codeigniter-integration
  3. Copy Welcome.php controller file in applications/controllers/ directory
  4. CopyMsg91.php library file in applications/libraries directory
  5. Enter Msg91 Authentication key (Authkey) and Sender ID on line 11,12
  6. Copy message_form.php view file in applications/views/ directory
  7. Customize the controller logic according to your web/app.

Code Explanation

  1. Welcome.php Controller - Displays the message_form.php view page.
  2. Msg91.php library file - Takecares all msg91 sms sending logic. More info on MSG91 SMS for developers site
  3. 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.

#Changelog

(15, May - 2019)
  1. Upgraded from3.1.9 to3.1.10
(25, July - 2018)
  1. Upgraded to Codeigniter 3.1.9
  2. Upgraded fromSendSMS (GET) to SendSMS_V2 (POST)
  3. Added:CheckSMSBalance() method to check balance. Now, you can send message only if it has balance credit.
  4. Updated Screenshots inscreenshots folder.
  5. Optimized Error handling.

About

Integrating International SMS Gateway, MSG91 for latest Codeigniter 3.1.10 with Bootstrap 4

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 99.7%
  • HTML 0.3%