2017 © Pedro Peláez
 

library ringcentral

RingCentral API Client

image

wesnick/ringcentral

RingCentral API Client

  • Saturday, February 14, 2015
  • by wesnick
  • Repository
  • 3 Watchers
  • 5 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 1 Versions
  • 13 % Grown

The README.md

RingCentral

RingCentral Call Out and Fax Out API client, (*1)

Usage

<?php
    use Wesnick\RingCentral\Model\User;
    use Wesnick\RingCentral\Http\HttpClient;

    // Some implementation of UserInterface
    $user = new User("5555555555", "1234");
    // Some implementation of Doctrine Cache interface
    $cache = new FilesystemCache("/path/to/cache");
    // Some implementation of HttpInterface
    $client = new HttpClient($cache);

    $ringout = new RingOut($client);

    // Methods
    $numbers = $ring->getNumbersList($user);
    // Returns an array of NamedNumberInterface

    $ring->placeCall($user, $destNumber, $sourceNumber, $callerIdNumber, $voicePromptBeforeConnect);
    // Returns session Id of connected call

    $ring->getCallStatus($sessionId);
    // Returns CallStatus object

    $ring->cancelCall($sessionId);
    // Returns boolean



Fax out is minimally implemented and has not been tested yet., (*2)

Installation

Use composer., (*3)

Requirements

PHP 5.3, (*4)

For use as a standalone library you need the following libraries: Buzz Symfony Console Doctrine Cache (for caching cookies), (*5)

Contributing

Fork and issue a Pull Request., (*6)

Running the Tests

$ bin/phpspec

License

Released under the MIT License. See the bundled LICENSE file for details., (*7)

The Versions

14/02 2015

dev-master

9999999-dev https://github.com/wesnick/ringcentral

RingCentral API Client

  Sources   Download

MIT

The Requires

 

The Development Requires

by Wesley O. Nichols

ringcentral ringout faxout