MaxMind GeoIP2 DB Reader Spryker implementation
A client layer abstraction to use MaxMind GeoIP2 DB Reader. Refer to https://www.maxmind.com/ for documentation of the API.
composer req valantic-spryker-eco/maxmind-db
$config[MaxmindDbConstants::MAXMIND_DB_FILE_LOCATION] = APPLICATION_ROOT_DIR . '/data/GeoLite2-Country.mmdb';
Inject
\ValanticSpryker\Client\MaxmindDb\MaxmindDbClient
where you need it.