2017 © Pedro Peláez
 

project php-voys

A package to make outgoing calls with the API of voys.nl.

image

koenster/php-voys

A package to make outgoing calls with the API of voys.nl.

  • Thursday, July 21, 2016
  • by Koenster
  • Repository
  • 2 Watchers
  • 1 Stars
  • 834 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

Voys click 2 dial

How does it work


require_once 'vendor/autoload.php'; $hash = 'your token!!'; // Your click 2 dial token $fromPhoneNumber = '+31(0)12345678'; // Phone number $fromPhone = '201'; // Phone number /** @var \koenster\Voys\Voys $voys */ $voys = new \koenster\Voys\Voys($hash, $fromPhoneNumber, $fromPhone); $call1 = $voys->call('+31(0)12345678'); /** @var \Koenster\Voys\VoysCall $call1 */ if ($call1->isValid()) { $call1->getCallFromPhone(); $call1->getCallFromPhoneNumber(); $call1->getCallToDisplayPhoneNumber(); $call1->getCallToPhoneNumber(); $call1->getCallId(); $status = $voys->getCallStatus($call1->getCallId()); if ($status->isValid()) { $status->response; } }

Stable

This repo is not stable yet!, (*1)

The Versions

21/07 2016

dev-master

9999999-dev

A package to make outgoing calls with the API of voys.nl.

  Sources   Download

MIT

The Requires

 

The Development Requires

phone voys click 2 dial

21/07 2016

v0.0.0

0.0.0.0

A package to make outgoing calls with the API of voys.nl.

  Sources   Download

MIT

The Requires

 

The Development Requires

phone voys click 2 dial