1. Go to this page and download the library: Download peoplefone/provisioning-rpc library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
peoplefone / provisioning-rpc example snippets
use \Peoplefone\ProvisioningRPC;
use \Peoplefone\ProvisioningRPCResult;
$rpc = ProvisioningRPC::connect('manufacturer', ['username','password']);
$result = $rpc->checkPhone("123456ABCDEF");
$result = $rpc->addPhone("123456ABCDEF", "https://provisioningserver.domain.com", true);
$result = $rpc->removePhone("123456ABCDEF");