MaxMind GeoIP2 DB Reader Spryker implementation

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 0

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

1.0.0 2023-08-01 15:19 UTC

This package is auto-updated.

Last update: 2025-09-09 14:48:13 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.