PHPackages                             snezhkoigor/geocoding - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. snezhkoigor/geocoding

ActivePackage[Utility &amp; Helpers](/categories/utility)

snezhkoigor/geocoding
=====================

A development package for all providers

v4.0.2(7y ago)2208MITPHPPHP ^7.1

Since Mar 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/snezhkoigor/geocoding)[ Packagist](https://packagist.org/packages/snezhkoigor/geocoding)[ RSS](/packages/snezhkoigor-geocoding/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (50)Used By (0)

Geocode for Laravel
===================

[](#geocode-for-laravel)

Requirements
------------

[](#requirements)

- PHP &gt;= 7.1.3
- Laravel &gt;= 5.6

Installation
------------

[](#installation)

1. Install the package via composer:

```
composer require snezhkoigor/geocoding
```

2. **If you are running Laravel 5.5 (the package will be auto-discovered), skip this step.** Find the `providers` array key in `config/app.php` and register the **Geocoding Service Provider**:

```
// 'providers' => [
    Geocoding\Laravel\GeocodingServiceProvider::class,
// ];
```

### Providers

[](#providers)

By default, the configuration specifies a Chain provider, containing the GoogleMaps provider for addresses as well as reverse lookups with lat/long.

However, you are free to add or remove providers as needed, both inside the Chain provider, as well as along-side it. The following is the default configuration provided by the package:

```
