PHP code example of jeffreyvanrossum / rdw-opendata-php

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

    

jeffreyvanrossum / rdw-opendata-php example snippets


use RDWOA\RDW;

$data = RDW::get('90FPDP');

echo $data->merk;

$data = RDW::get('90FPDP', 'brandstof');

echo $data->brandstof_omschrijving;