SMSGlobal is one of the service providers to help you send SMS using their web apis.
Requirements ¶
Yii 1.1 or above
Curl
Installation ¶
Download the zip file and extract under protected/extensions Use the settings below in the config/main.php under components.
'smsGlobal' => array(
'class' => 'ext.smsGlobal.smsGlobal',
'username' => 'xxxx',
'password' => 'xxxx',
'from' => 'xxxx',
),
Usage ¶
Use the code example to send sms:
Yii::app()->smsGlobal->send(array('to' => 'xxxxxxxx', 'message' => 'xxxxxxxxxxx'));
If you have any questions, please ask in the forum instead.
Signup or Login in order to comment.