PHP code example of marcoboom / voertuigdata

1. Go to this page and download the library: Download marcoboom/voertuigdata 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/ */

    

marcoboom / voertuigdata example snippets


$vd = new Voertuigdata\Voertuigdata('username', 'password');


$options = [
	'environment' 	=> 	'production',
	'cache_wsdl' 	=> 	WSDL_CACHE_NONE
];




try {
	$result = $vd->getPersonenautoInformatieMiddelsKenteken(['Kenteken'=>'56RPFV']);

	var_dump($result);

} catch (Voertuigdata\VoertuigdataException $e) {

	var_dump($e->getMessage());

}