PHP code example of laralabs / get-address-io

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

    

laralabs / get-address-io example snippets


$results = get_address()->find($postcode, $property);

$results = get_address()->autocomplete($searchTerm, ['top' => '20']);

$results = get_address()->get($addressId);

php artisan vendor:publish --tag=getaddress-config

php artisan migrate