2017 © Pedro Peláez
 

library hoiio-php

Hoiio API provides telephony services such as call, SMS and interactive voice responses (IVR). This SDK makes using the API a breeze.

image

hoiio/hoiio-php

Hoiio API provides telephony services such as call, SMS and interactive voice responses (IVR). This SDK makes using the API a breeze.

  • Thursday, January 23, 2014
  • by hoiio
  • Repository
  • 0 Watchers
  • 9 Stars
  • 2,239 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 2 Versions
  • 1 % Grown

The README.md

hoiio-php

hoiio-php is a PHP SDK for Hoiio's Voice and SMS API. It encapsulates the REST communications and let developers use the API via a few simple classes., (*1)

Currently, hoiio-php supports the Call, SMS, Account, Hoiio Number and IVR APIs., (*2)

Requirements

  • PHP 5 >= 5.1
  • PHP JSON extension
  • PHP cURL extension

Installation

Just download and extract the package into your project folder. You should be able to see a hoiio-php/ folder., (*3)

Or if you are using composer, you can add this to your composer.json, (*4)

{
    "require": {
        "hoiio/hoiio-php": "*"
    }
}

Usage

You will be able to access all of Hoiio's API via the HoiioService class. Check the docs for details., (*5)

// E.g. Sending SMS
require 'hoiio-php/Services/HoiioService.php';

$h = new HoiioService("myAppID", "myAccessToken");
$txnRef = $h->sms("+651111111", "hello world");
print("SMS sent successfully. TxnRef: $txnRef\n");

// E.g. Building IVR
require 'hoiio-php/Services/HoiioService.php';

$h = new HoiioService("myAppID", "myAccessToken");
$notify = $h->parseIVRNotify($_POST);
$session = $notify->getSession();
$key = $notify->getDigits();

$h->ivrPlay($session, '', "You just pressed $key.");

License

This project is under MIT License. See LICENSE file for details., (*6)

Contact Us

If you have any questions, please feel free to contact us:, (*7)

The Versions

23/01 2014

dev-master

9999999-dev http://developer.hoiio.com/

Hoiio API provides telephony services such as call, SMS and interactive voice responses (IVR). This SDK makes using the API a breeze.

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

sms ivr call telephony conference

23/01 2014

v0.06

0.06.0.0 http://developer.hoiio.com/

Hoiio API provides telephony services such as call, SMS and interactive voice responses (IVR). This SDK makes using the API a breeze.

  Sources   Download

MIT

The Requires

  • php >=5.1.0

 

sms ivr call telephony conference