PHP code example of iwd-nl / snelstart-php
1. Go to this page and download the library: Download iwd-nl/snelstart-php 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/ */
iwd-nl / snelstart-php example snippets
$primaryKey = "<primary>";
$secondaryKey = "<secondary>";
$clientKey = "<maatwerksleutel>";
$bearerToken = new \SnelstartPHP\Secure\BearerToken\ClientKeyBearerToken($clientKey);
$accessTokenConnection = new \SnelstartPHP\Secure\AccessTokenConnection($bearerToken);
$accessToken = $accessTokenConnection->getToken();
$connection = new \SnelstartPHP\Secure\V2Connector(
new \SnelstartPHP\Secure\ApiSubscriptionKey($primaryKey, $secondaryKey),
$accessToken
);
bash
composer