maxminddb

Reader for the MaxMind DB file format


This is the PHP extension for reading MaxMind DB files. MaxMind DB is a binary file format that stores data indexed by IP address subnets (IPv4 or IPv6).

License: Apache License 2.0

Latest releases

Version Release Download
1.13.0 2025-11-20 maxminddb-1.13.0.tgz
1.12.1 2025-05-05 maxminddb-1.12.1.tgz
1.12.0 2024-11-14 maxminddb-1.12.0.tgz
1.11.1 2023-12-02 maxminddb-1.11.1.tgz
1.11.0 2021-10-18 maxminddb-1.11.0.tgz
Show all releases

Changelog

Version Message
1.13.0 * A redundant `filesize()` call in the reader's constructor was removed.
Pull request by Pavel Djundik. GitHub #189.
1.12.1 * The C extension now checks that the database metadata lookup was
successful.
1.12.0 * Improve the error handling when the user tries to open a directory
with the pure PHP reader.
* Improve the typehints on arrays in the PHPDocs.
1.11.1 * Resolve warnings when compiling the C extension.
* Fix various type issues detected by PHPStan level. Pull request by
LauraTaylorUK. GitHub #160.
1.11.0 * Replace runtime define of a constant to facilitate opcache preloading.
Reported by vedadkajtaz. GitHub #134.
* Resolve minor issue found by the Clang static analyzer in the C
extension.
Show complete changelog