PHP code example of spkm / ciphr
1. Go to this page and download the library: Download spkm/ciphr 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/ */
spkm / ciphr example snippets
use spkm\ciphr\CiphrConnector;
use spkm\ciphr\Requests\Person\GetPersonDetailsRequest;
$connector = new CiphrConnector($yourCustomerPortal, $yourApiKey);
$request = new GetPersonDetailsRequest();
$paginator = $connector->paginate($request);
foreach ($paginator as $response) {
$response->json();
}