Registry / networking / maxmind-db-reader

maxmind-db-reader

JSON →
library1.13.1phppackagistunverified

MaxMind DB Reader API for reading MaxMind DB files.

composer require maxmind-db/reader
INSTALL
IMPORT
SIG · MAXMIND-DB-READER
M
maxmind-db-reader
networkingphpv1.13.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Reader
use MaxMind\Db\Reader;

Read an IP address record from a MaxMind database.

use MaxMind\Db\Reader; $reader = new Reader('/path/to/database.mmdb'); $record = $reader->get('8.8.8.8'); $reader->close();
Debug
Known issues
breakingRequires PHP 7.2 or higher.
fix
Upgrade PHP to version 7.2+.
affects: <1.11.0
Upgrade
Version history
1.13.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
maxmind-db-reader — pip install maxmind-db-reader · libregistry