Simple library for getting vehicle data by license plate number.
Data source: https://opendata.rdw.nl
composer require jeffreyvanrossum/rdw-opendata-php:^1.0
You call the static get
method on the RDW
class. You can pass two parameters: license
and data
.
use RDWOA\RDW;
$data = RDW::get('90FPDP');
echo $data->merk;
$data = RDW::get('90FPDP', 'brandstof');
echo $data->brandstof_omschrijving;
- info
- brandstof
- carrosserie
- carrosserieSpecifiek
- voertuigklasse