chaplean / geolocation-bundle
Geolocation Tools
Package info
github.com/chaplean/geolocation-bundle
Type:symfony-bundle
pkg:composer/chaplean/geolocation-bundle
v7.1.4
2019-07-09 19:32 UTC
Requires
- php: >=7.0.8
- cravler/maxmind-geoip-bundle: ^1.0
- doctrine/doctrine-bundle: ^1.6
- doctrine/orm: ^2.5
- friendsofsymfony/rest-bundle: ^2.1
- geocoder-php/google-maps-provider: ^4.0
- jms/serializer-bundle: ^2.0
- php-http/guzzle6-adapter: ^2.0
- php-http/message: ^1.6
- sensio/framework-extra-bundle: ^5.0.0
- symfony/config: ^3.4 || ^4.0
- symfony/console: ^3.4 || ^4.0
- symfony/dependency-injection: ^3.4 || ^4.0
- symfony/monolog-bundle: ^3.1 || ^4.0
- symfony/serializer: ^3.0 || ^4.0
- symfony/twig-bundle: ^3.4 || ^4.0
- symfony/validator: ^3.0 || ^4.0
- willdurand/geocoder-bundle: ^5.0
Requires (Dev)
- chaplean/coding-standard: ^1.1
- chaplean/continuous-integration-scripts: ^2.1
- chaplean/unit-bundle: ^7.0
- mockery/mockery: dev-master
- sensio/distribution-bundle: ^5.0
- symfony/http-kernel: ^3.0 || ^4.0
- symfony/phpunit-bridge: ^4.0
- symfony/var-dumper: ^3.0 || ^4.0
This package is auto-updated.
Last update: 2026-05-29 00:54:54 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