PHP code example of wantell / arcgis-geocode-addresses
1. Go to this page and download the library: Download wantell/arcgis-geocode-addresses 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/ */
wantell / arcgis-geocode-addresses example snippets
$httpClient = new \Http\Adapter\Guzzle6\Client();
// You must provide a token.
$provider = new \Geocoder\Provider\ArcGISList\ArcGISList::token($httpClient, 'your-token');
$result = $geocoder->geocodeQuery(GeocodeQuery::create('Buckingham Palace, London'));