PHPackages                             snezhkoigor/map - 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/map

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

snezhkoigor/map
===============

A development package for all map providers

v1.9.0(7y ago)1214MITPHPPHP ^7.1

Since Mar 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/snezhkoigor/map)[ Packagist](https://packagist.org/packages/snezhkoigor/map)[ RSS](/packages/snezhkoigor-map/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (23)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/map
```

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 **Map Service Provider**:

```
// 'providers' => [
    Map\Laravel\MapServiceProvider::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:

```
