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.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
1.10.1 2021-04-14 maxminddb-1.10.1.tgz
1.10.0 2021-02-09 maxminddb-1.10.0.tgz
Show all releases

Changelog

Version Message
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.
1.10.1 * Fix a `TypeError` exception in the pure PHP reader when using large
databases on 32-bit PHP builds with the `bcmath` extension. Reported
by dodo1708. GitHub #124.
1.10.0 * When using the pure PHP reader, unsigned integers up to PHP_MAX_INT
will now be integers in PHP rather than strings. Previously integers
greater than 2^24 on 32-bit platforms and 2^56 on 64-bit platforms
would be strings due to the use of `gmp` or `bcmath` to decode them.
Reported by Alejandro Celaya. GitHub #119.
Show complete changelog