Skip to main content
Back to packages
747 GitHub stars

geocoder-php/GeocoderLaravel

View on GitHub

Description

Geocoder is a PHP library which helps you build geo-aware applications by providing a powerful abstraction layer for geocoding manipulations

The service provider initializes the geocoder service, accessible via the facade Geocoder::... or the application helper app('geocoder')->....

Geocoding Addresses

Get Collection of Addresses

app('geocoder')->geocode('Los Angeles, CA')->get();

Get IP Address Information

app('geocoder')->geocode('8.8.8.8')->get();

Reverse-Geocoding

app('geocoder')->reverse(43.882587,-103.454067)->get();

Related Content on Laravel Daily

Video

Recent Courses on Laravel Daily