MaxMind GeoIP2 DB Reader Spryker implementation

Maintainers

Package info

github.com/valantic-CEC-Deutschland-GmbH/maxmind-db-reader

Homepage

pkg:composer/valantic-spryker-eco/maxmind-db

Statistics

Installs: 0

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0.0 2023-08-01 15:19 UTC

This package is auto-updated.

Last update: 2026-03-09 15:57:16 UTC


README

Minimum PHP Version

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.

Install package

composer req valantic-spryker-eco/maxmind-db

Update your shared config

$config[MaxmindDbConstants::MAXMIND_DB_FILE_LOCATION] = APPLICATION_ROOT_DIR . '/data/GeoLite2-Country.mmdb';

Usage

Inject

\ValanticSpryker\Client\MaxmindDb\MaxmindDbClient

where you need it.