dataconnect/rdw-ovi

RDW OVI v2, Rijksdienst voor het Wegverkeer

Maintainers

Package info

gitlab.com/dataconnect-packages/rdw-ovi

Issues

pkg:composer/dataconnect/rdw-ovi

Statistics

Installs: 46

Dependents: 0

Suggesters: 0

Stars: 0

1.1.0 2026-05-07 16:18 UTC

This package is auto-updated.

Last update: 2026-06-30 09:48:48 UTC


README

PHP client for RDW OVI v2, retrieving vehicle data from the Rijksdienst voor het Wegverkeer.
To retrieve data, you need to be a registered company at RDW and have purchased RDW certificates.
Note: this is not RDW open data. The dataset may contain different information than open data.

Requirements

rdw-ovi requires PHP 8.0 or above.

Installation

Can be installed with Composer.

To get the latest version of rdw-ovi use:

composer require dataconnect/rdw-ovi

Example

use RdwOvi\RdwOviApiClient;
use RdwOvi\RdwOviException;

$apiUrl = 'https://berichten.rdw.nl/procidv2';
$certificate = __DIR__ . '/certificate.pem';
$privatekey = __DIR__ . '/privatekey.pem';

$client = new RdwOviApiClient($apiUrl, $certificate, $privatekey);

try {
    $vehicleInfo = $client->getVehicleInfo('S801PV');

    echo "Brand: {$vehicleInfo['brand']}";
    echo "Model: {$vehicleInfo['model']}";
    echo "Color: {$vehicleInfo['color']}";
} catch (RdwOviException $e) {
    echo 'Error: ' . $e->getMessage();
}

Support

Want to support our work? A donation is very welcome: https://buymeacoffee.com/dataconnect

Contact

Please feel free to contact us, to add options if possible!