Code Monkey home page Code Monkey logo

codeigniter-nexmo-message's Introduction

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

How It Works?

Please vist https://www.nexmo.com/tour/

Requirements

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

Usage

You can install via http://getsparks.org/packages/Nexmo-SMS-Message/versions/HEAD/show

$ php tools/spark install -v1.0.3 Nexmo-SMS-Message

or referrer the following steps.

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: 2013-01-23 (Developer API)

  • Account: Top-up
  • Number: Update
  • Search: Message
  • Search: Messages
  • Search: Rejections

Date: 2011-11-19 (Developer API)

  • Account: Get Balance
  • Account: Get Pricing
  • Account: Settings
  • Account: Numbers
  • Number: Search
  • Number: Buy
  • Number: Cancel

Date: 2011-10-07 (Messaging References)

  • Send a Message
  • Send Binary Message
  • Send WAP Push Message

Copyright

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.