twiliosms Send SMS - messages all over the world using twilio

  1. Requirements
  2. Usage
  3. Resources

Send SMS - messages all over the world using twilio

Note: Single class file only for sending sms - messages. Other twilio features are not included.

Requirements

Yii 1.1 or above

PHP 5 above

Usage

Copy the twiliosms folder into protected/extensions/

require_once('/path/to/extensions/twilio/Services/Twilio.php');

$sid = "{{ ACCOUNT SID }}"; // Your Account SID from www.twilio.com/user/account
$token = "{{  AUTH TOKEN }}"; // Your Auth Token from www.twilio.com/user/account

$client = new Services_Twilio($sid, $token);
$message = $client->account->sms_messages->create(
  '+14158141829', // From a valid Twilio number
  '+14159352345', // Text this number
  "Hello world! This is admin, testing our twilio api"
);

Resources

6 1
13 followers
1 261 downloads
Yii Version: 1.1
License: Apache-2.0
Category: Web Service
Developed by: Rajith R
Created on: Feb 27, 2013
Last updated: 5 years ago

Downloads

show all

Related Extensions