smsconnexion You can send SMS messages using SMSConneXion API with only one line of code.

  1. Requirements
  2. Installation
  3. Usage
  4. Resources

This extension helps you to send SMS messages using SMS ConneXion API. You can also get the current balance of your account.
To use this extention you need a SMS ConneXion Licence. If anyone needs a demo of this extension please contact : Simon Mathew , support@celusion.com

Requirements

  1. cURL.
  2. Yii 1.1 or above.

Installation

  1. Copy the smsconnexion folder to your extensions folder (usually in protected/extensions/).
  2. In configuration, add the following component:
  'components' => array(  
          ...  
          'SMSConneXion' => array(  
     	     'class'=>'ext.smsconnexion.SMSConneXion',  
    	     'smxUsername'=>'your SMSConneXion user',  
    	     'smxPassword'=>'your SMSConneXion password',  
    	     'smxSecret'=>'your SMSConneXion Secret Key',  
          ),  
          ...  
   );  

Usage

  1. Send messages to Single User as follows:
    > Yii::app() ->SMSConneXion ->sendSMS(array ('to'=>'xxxxxx','message'=>'Hello'));

  2. Sending Bulk SMS as follows:
    > Yii::app() -> SMSConneXion -> sendSMS(array ('to'=>array ('xxxxxx','yyyyyy'), 'message'=>' Hello '));

  3. Check Balance as follows:
    > $result = Yii::app() -> SMSConneXion -> getBalance(); > Type of user : $result['user_type'].
    > Balance amount : $result['user_balance'].

    Resources