PHP code example of inxilpro / address-standardizer

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

    

inxilpro / address-standardizer example snippets


$standardizer = new \Galahad\AddressStandardizer\AddressStandardizer();
$address = $standardizer->standardize('1600 Pennsylvania Avenue NW Washington, DC 20500 US');
echo $address; // 1600 PENNSYLVANIA AVE NW WASHINGTON DC 20500 US