https://github.com/bhuvidya/laravel-geocoder
A Laravel 5 package to make geocoding a breeze.
https://github.com/bhuvidya/laravel-geocoder
geocode googlemaps laravel
Last synced: 5 months ago
JSON representation
A Laravel 5 package to make geocoding a breeze.
- Host: GitHub
- URL: https://github.com/bhuvidya/laravel-geocoder
- Owner: bhuvidya
- License: mit
- Created: 2017-11-30T12:02:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T01:28:32.000Z (over 1 year ago)
- Last Synced: 2025-08-20T11:14:15.777Z (10 months ago)
- Topics: geocode, googlemaps, laravel
- Language: PHP
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel Geocoder
[](https://packagist.org/packages/bhuvidya/laravel-geocoder)
[](https://packagist.org/packages/bhuvidya/laravel-geocoder)
[](https://packagist.org/packages/bhuvidya/laravel-geocoder)
[](https://packagist.org/packages/bhuvidya/laravel-geocoder)
**Note I have now switched the semver versioning for my Laravel packages to "match" the latest supported Laravel version.**
A Laravel 5 package to make geocoding a breeze.
**Please note that this package was tested on Laravel 5.5 - I cannot guarantee it will work on earlier versions. Sorry.**
## Installation
Add `bhuvidya/laravel-geocoder` to your app:
$ composer require "bhuvidya/laravel-geocoder"
**If you're using Laravel 5.5, you don't have to edit `app/config/app.php`.**
Otherwise, edit `app/config/app.php` and add the service provider:
'providers' => [
'Bhuvidya\Geocoder\GeocoderServiceProvider',
]
## Configuration
You can elect to manage your own configuration. This is an optional step, but only if you define
your Google Maps API Key in your `.env` file via `GOOGLE_MAPS_API_KEY`.
Otherwise run the following command
$ php artisan vendor:publish --provider='Bhuvidya\Geocoder\GeocoderServiceProvider' --tag=config
The config file can then be found at `config/geocoder.php`.
### Configuration Options
TODO
## Service Class
TODO