PHP code example of gliterd / smartystreets

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

    

gliterd / smartystreets example snippets




SmartyStreets\Service;

$service = new Service('your-auth-id', 'your-auth-token');

$location = $service->getInspectedLocation([
    'street'        => 'Vulkanstrasse',
    'street_number' => '106',
    'place'         => 'Zurich',
    'postal_code'   => '8010',
]);