chaplean/geolocation-bundle

Geolocation Tools

Installs: 1 248

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 7

Type:symfony-bundle

v7.1.4 2019-07-09 19:32 UTC

README

Prerequisites

This version of the bundle requires Symfony 2.8+.

Installation

1. Composer

composer require chaplean/geolocation-bundle

2. AppKernel.php

Add

            new Cravler\MaxMindGeoIpBundle\CravlerMaxMindGeoIpBundle(),
            new Bazinga\Bundle\GeocoderBundle\BazingaGeocoderBundle(),
            new Chaplean\Bundle\GeolocationBundle\ChapleanGeolocationBundle(),

3. config.yml

A. Import
    - { resource: @ChapleanGeolocationBundle/Resources/config/config.yml }
B. Parameters

Add parameter chaplean_geolocation.api_key in app/config/parameters.yml

Note

Default api key for chaplean: AIzaSyA4iQOHlCF5nqaEDKk-9IsYAMapdOvIATc