PHP code example of hennio / postcodenlapi

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

    

hennio / postcodenlapi example snippets


    'providers' => [
    	//other things here

    	Hennio\Postcodenlapi\PostcodenlapiServiceProvider::class,
    ];

    'aliases' => [
    	//other things here    	
        'Postcodenlapi' => Hennio\Postcodenlapi\Facades\Postcodenlapi::class,
    ];

use Postcodenlapi;

$data = Postcodenlapi::validateDutch('1010AA', '1', 'a');


php artisan vendor:publish --provider="Hennio\Postcodenlapi\PostcodenlapiServiceProvider"