Adding support for Geocoder 5.

This will fix #87
This commit is contained in:
Tobias Nyholm
2017-10-21 09:26:06 -07:00
parent 26b1eddd78
commit fc9fadf453
2 changed files with 25 additions and 0 deletions
@@ -0,0 +1,17 @@
bazinga_geocoder:
# The local IP (127.0.0.1) will be replaced by the fake_ip
# see https://github.com/geocoder-php/BazingaGeocoderBundle/blob/5.0.0/Resources/doc/index.md#fake-local-ip
fake_ip: 123.123.123.123
# The following config requires 'composer req geocoder-php/chain-provider geocoder-php/google-maps-provider geocoder-php/geo-plugin-provider'
# providers:
# my_google:
# factory: Bazinga\GeocoderBundle\ProviderFactory\GoogleMapsFactory
# aliases:
# - my_geocoder
# my_geoplugin:
# factory: Bazinga\GeocoderBundle\ProviderFactory\GeoPluginFactory
# my_chain:
# factory: Bazinga\GeocoderBundle\ProviderFactory\ChainFactory
# options:
# services: ['@bazinga_geocoder.provider.my_google', '@bazinga_geocoder.provider.my_geoplugin']
@@ -0,0 +1,8 @@
{
"bundles": {
"Bazinga\\GeocoderBundle\\BazingaGeocoderBundle": ["all"]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}