Looking to hire Laravel developers? Try LaraJobs

laravel-google-geocoder maintained by simklee

Description
Integration of Googles Geocoder into Laravel.
Last update
2025/06/24 16:21 (dev-main)
License
Links
Downloads
544

Comments
comments powered by Disqus

Laravel Google Geocoder

Installation

composer require simklee/laravel-google-geocoder

Configuration

Run artisan vendor:publish to publish the configuration file into your config directory.

Environment Variables

The following environment variables are used in config/laravel-google-geocoder.php

  • GOOGLE_GEOCODER_API_URL=https://maps.googleapis.com/maps/api/geocode/json
  • GOOGLE_GEOCODER_API_KEY=
  • GOOGLE_GEOCODER_USE_CACHE=false

API Key

https://developers.google.com/maps/documentation/geolocation/get-api-key