dev-master
9999999-devA client for the Flexfone API
The Requires
The Development Requires
by Daniel Nygaard
A client for the Flexfone API
This is a library for using the Flexfone API., (*1)
This package can be installed using composer, (*2)
composer require dnyg/flexfone-php-client
, (*3)
PHP 7.1 or greater is required., (*4)
To use the client just pass your credentials into the constructor of the Flexfone\ApiClient()
, (*5)
Getting an employee by localNumber (200), (*6)
$client = new Flexfone\ApiClient($pbxId, $key); $employee = $client->getEmployee(200);
Retrieving all employees, (*7)
$client = new Flexfone\ApiClient($pbxId, $key); $employee = $client->getEmployees();
To run the tests, rename the tests\config.example.php
to tests\config.php
and fill it out., (*8)
A client for the Flexfone API