geoip2
geoip2 copied to clipboard
Unrecognized option "path" under "gpslab_geoip"
I've just started to configure your package, and it seems you cannot configure the path as per the documentation:
In ArrayNode.php line 314:
Unrecognized option "path" under "gpslab_geoip". Available options are "databases", "default_database", "license", "locales".
Please update the documentation to inform people where to put the path key:
gpslab_geoip:
path: '%kernel.project_dir%/var/GeoLite2-City.mmdb'
To:
databases:
city:
edition: 'GeoLite2-City'
path: '%kernel.project_dir%/var/GeoLite2-City.mmdb'
Thanks
You cannot register the database without specifying the edition
and license
.
gpslab_geoip:
license: 'XXXXXXXXXXXXXXXX'
edition: 'GeoLite2-City'
path: '%kernel.project_dir%/var/GeoLite2-City.mmdb'