A PHP client for fetching address detials from https://api-postcode.nl
Installation is a quick step process:
- Download the client with composer
$ composer require api-postcode/php-client$token = 'secret-token';
$client = new ApiPostcode\Client($token);
$address = $client->fetchAddress('1012JS', 1);
$address->getStreet(); // Dam
$address->getCity(); // Amsterdam
$address->getHouseNumber(); // 1
$address->getZipCode(); // 1012JS
$address->getLatitude(); // 52.3732926
$address->getLongitude(); // 4.8937176