PHP code example of dfcplc / epostcode

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

    

dfcplc / epostcode example snippets


use Dfcplc\ePostcode\ePostcode;
$lookup = ePostcode::lookup_address('', '', 'AB1 2CD', '1');

var_dump($lookup);