dev-master
9999999-dev https://github.com/wesnick/ringcentralRingCentral API Client
MIT
The Requires
- php >=5.3.0
- kriswallsmith/buzz v0.10
- doctrine/cache 1.3.0
The Development Requires
by Wesley O. Nichols
ringcentral ringout faxout
RingCentral API Client
RingCentral Call Out and Fax Out API client, (*1)
<?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)
Use composer., (*3)
PHP 5.3, (*4)
For use as a standalone library you need the following libraries: Buzz Symfony Console Doctrine Cache (for caching cookies), (*5)
Fork and issue a Pull Request., (*6)
$ bin/phpspec
Released under the MIT License. See the bundled LICENSE file for details., (*7)
RingCentral API Client
MIT
ringcentral ringout faxout