PHP code example of deniztezcan / laravel-postcodenl-api
1. Go to this page and download the library: Download deniztezcan/laravel-postcodenl-api 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/ */
deniztezcan / laravel-postcodenl-api example snippets
'providers' => [
//other things here
DenizTezcan\LaravelPostcodeNLAPI\PostcodeNLAPIServiceProvider::class,
];
'aliases' => [
//other things here
'PostcodeNLAPI' => DenizTezcan\LaravelPostcodeNLAPI\Facades\PostcodeNLAPI::class,
];
use PostcodeNLAPI;
$data = PostcodeNLAPI::validateDutch('1010AA', '1', 'a');