PHP code example of fireenginered / smartystreets-laravel

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

    

fireenginered / smartystreets-laravel example snippets


$response = SmartyStreets::addressQuickVerify(array(
    'street'=>'P.O. Box 1017',
    'city'=>'Havertown',
    'state'=>'PA',
));

    # Add `SmartyStreetsLaravelServiceProvider` to the `providers` array
    'providers' => array(
        ...
        'FireEngineRed\SmartyStreetsLaravel\SmartyStreetsServiceProvider',
    )

    # Add the `SmartyStreetsFacade` to the `aliases` array
    'aliases' => array(
        ...
        'SmartyStreets'  => 'FireEngineRed\SmartyStreetsLaravel\SmartyStreetsFacade',
    )
    
shell
    $ php artisan vendor:publish