Class Nexmo Message handles the methods and properties of sending an SMS message.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

What is Nexmo?

Nexmo is a cloud based SMS API that lets you send and receive high volume of messages at wholesale rates. Web Site: http://www.nexmo.com/index.html

Requirements

  • CodeIgniter 2.0.0+
  • PHP 5.4.0+
  • PHP extension: openssl, pcre, json, xml, curl

Install

Copy files to your applicaiotn folder

$ cp config/nexmo.php application/config/
$ cp libries/nexmo.php application/libries/
$ cp controller/nexmo.php application/controller/

Open config/nexmo.php and put your api key and secret

$config['api_key'] = 'xxxxxx';
$config['api_secret'] = 'xxxxxx';

Open controller/nexmo.php and modified the following changes for sending message

$from = 'xxxxxxxxxx';
$to = 'xxxxxxxxxxxx';
$message = array(
    'text' => 'test message'
);

Open browser and load the following URL

http://your_host/example

Change Log

Please vist API documentation first

Date: 2014-12-21 (Developer API)

Added by @lukeprentice202

Date: 2014-12-16 (Developer API)

Added by @lukeprentice202

Date: 2013-01-23 (Developer API)

Date: 2011-11-19 (Developer API)

Date: 2011-10-07 (Messaging References)

Copyright

Copyright (C) 2011-2014 Bo-Yi Wu ( appleboy AT gmail.com )