https://github.com/chaplean/geolocation-bundle
https://github.com/chaplean/geolocation-bundle
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chaplean/geolocation-bundle
- Owner: chaplean
- Created: 2019-07-09T19:12:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-30T20:31:17.000Z (almost 3 years ago)
- Last Synced: 2025-02-14T01:17:36.331Z (5 months ago)
- Language: PHP
- Size: 20 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Getting Started With ChapleanGeolocationBundle
==============================================# 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`