2017 © Pedro Peláez
 

library sdk

A PHP wrapper for the Fonolo Call-Back API

image

fonolo/sdk

A PHP wrapper for the Fonolo Call-Back API

  • Wednesday, August 9, 2017
  • by mikepultz
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

, (*1)

PHP Client Library

The official PHP binding for the Fonolo Call-Back Service., (*2)

Prerequisites

Before using this library, you must have:, (*3)

  • A Fonolo Account; visit fonolo.com for more details.
  • a valid Fonolo Account SID and Auth Token, available from the Fonolo Portal
  • PHP >= 5.4
  • The PHP JSON extension

Installation

composer require fonolo/sdk

Quickstart

Start a new Fonolo Call-Back:

, );
try
{
    $res = $client->callback->start(array(

        'fc_number' => '14163662500',
        'fc_option' => 'CO529c5278b2cefeabc984506e785d8cb0'
    ));

} catch(Fonolo\Exceptions\FonoloException $e)
{
    echo $e->getMessage();
}

?>

That will output a PHP object that looks like this:, (*4)

stdClass Object
(
    [head] => stdClass Object
        (
            [status] => 200
            [message] => Call started successfully.
        )

    [data] => stdClass Object
        (
            [sid] => CA8b3a9802f271e076069c1844a9d5d7f6
            [status] => /3.0/call/CA8b3a9802f271e076069c1844a9d5d7f6/status.json
        )

)

Documentation

Full API documentation is available from the Fonolo developer site., (*5)

Release History

v1.0.3

  • Added support for the /optin and /optins endpoints for viewing call-back opt-in requests.

v1.0.2

  • Added support for the pending call-backs view (/pending endpoint)

v1.0.1

  • Added support for the realtime and scheduled call-backs view.
  • Added support for the timezones endpoint.

v1.0.0

  • Initial release.

The Versions

09/08 2017

dev-master

9999999-dev https://fonolo.com

A PHP wrapper for the Fonolo Call-Back API

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

api fonolo call-back

08/08 2017

v1.0.0

1.0.0.0 https://fonolo.com

A PHP wrapper for the Fonolo Call-Back API

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

api fonolo call-back