diff --git a/gpslab/geoip2/2.0/config/packages/gpslab_geoip.yaml b/gpslab/geoip2/2.0/config/packages/gpslab_geoip.yaml new file mode 100644 index 00000000..0061476b --- /dev/null +++ b/gpslab/geoip2/2.0/config/packages/gpslab_geoip.yaml @@ -0,0 +1,8 @@ +# Read the README file for more detailed configuration information +# https://github.com/gpslab/geoip2 +#gpslab_geoip: +# # You should specify your personal licence key +# license: '%env(GEOIP_LICENSE)%' +# +# # Edition ID of database you need +# edition: 'GeoLite2-City' diff --git a/gpslab/geoip2/2.0/manifest.json b/gpslab/geoip2/2.0/manifest.json new file mode 100644 index 00000000..3008185f --- /dev/null +++ b/gpslab/geoip2/2.0/manifest.json @@ -0,0 +1,14 @@ +{ + "bundles": { + "GpsLab\\Bundle\\GeoIP2Bundle\\GpsLabGeoIP2Bundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + }, + "composer-scripts": { + "geoip2:update": "symfony-cmd" + }, + "env": { + "GEOIP_LICENSE": "" + } +}