Geocod.io Launches Laravel Package

Here's an example:

$response = Geocodio::geocode('1109 N Highland St, Arlington, VA');/*{ "input": { "address_components": { "number": "1109" "predirectional": "N" "street": "Highland" "suffix": "St" "formatted_street": "N Highland St" "city": "Arlington" "state": "VA" "country": "US" } "formatted_address": "1109 N Highland St, Arlington, VA" } "results": array:2 [ 0 => { "address_components": { "number": "1109" "predirectional": "N" "street": "Highland" "suffix": "St" "formatted_street": "N Highland St" "city": "Arlington" "county": "Arlington County" "state": "VA" "zip": "22201" "country": "US" } "formatted_address": "1109 N Highland St, Arlington, VA 22201" "location": { "lat": 38.886672 "lng": -77.094735 } "accuracy": 1 "accuracy_type": "rooftop" "source": "Arlington" } 1 => { "address_components": { "number": "1109" "predirectional": "N" "street": "Highland" "suffix": "St" "formatted_street": "N Highland St" "city": "Arlington" "county": "Arlington County" "state": "VA" "zip": "22201" "country": "US" } "formatted_address": "1109 N Highland St, Arlington, VA 22201" "location": { "lat": 38.886665 "lng": -77.094733 } "accuracy": 1 "accuracy_type": "rooftop" "source": "Virginia Geographic Information Network (VGIN)" } ]}*/

Of course, this is just basic and can be useful for numerous things when compiling geocoding applications. This can be anything from finding latitude/longitude, address, appropriate zip codes, time zones and even Congressional information.

From github repository learn more andyou can try keti 

  Quote

KARABAY A, 2019 . Geocod.io Releases Laravel Package,

https://www.karabayyazilim.com/blog/php/framework/laravel/geocodio-laravel-paketini-piyasaya-suruyor-2019-09-30-200731

(Accessed September 30, 2019).


  Share this post

Comments (0)

Comment

Subscribe
Sign up for the email newsletter to be the first to know about my blog posts