clickatellsms Send SMS messages using Clickatell HTTP API.

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

Send SMS messages using Clickatell HTTP API.

Requirements

  • cURL
  • Tested only Yii 1.1.8. May work on older version.
  • Caches session data with Yii::app()->cache->set(); so this must be enabled.

Usage

After installation, to send an SMS simply:

Yii::app()->sms->send(array('to'=>'407xxxxxxxx', 'message'=>'Hello world!'));

Installation

  • Copy the ClickatellSms folder into protected/extensions/
  • Add the following component in your configuration (protected/config/main.php):
'components' => array(
	...
	'sms' => array(
		'class'=>'ext.ClickatellSms.ClickatellSms',
		'clickatell_username'=>'your clickatell user',
		'clickatell_password'=>'your clickatell password',
		'clickatell_apikey'=>'your clickatell api id',
	),
	...
);
5 1
9 followers
903 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Web Service
Developed by: Vlad V
Created on: Sep 9, 2011
Last updated: 12 years ago

Downloads

show all

Related Extensions