maxmind-db/reader-ext

C extension for MaxMind DB Reader - provides significantly faster lookups

Package info

github.com/maxmind/MaxMind-DB-Reader-php-ext

Issues

Type:php-ext

Ext name:ext-maxminddb

pkg:composer/maxmind-db/reader-ext

Statistics

Installs: 702

Dependents: 0

Suggesters: 1

Stars: 1

v1.13.1 2025-11-21 22:24 UTC

Requires

  • php: ^7.2 || ^8.0

Requires (Dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

  • ext-maxminddb: *

Apache-2.0 5bfc003529d942a17ff4d92a2139c0a5092bde19

  • MaxMind, Inc.

Extension name: ext-maxminddb

Supports Zend Thread Safety (ZTS): ✅

Supports non-Thread Safe mode (NTS): ✅

Supported operating systems: no restrictions

Configure flags:

  • --with-maxminddb Enable MaxMind DB Reader extension support

This package is auto-updated.

Last update: 2026-06-05 21:27:10 UTC


README

This is the C extension for MaxMind DB Reader, providing significantly faster IP lookups compared to the pure PHP implementation.

Installation (PIE - Recommended)

pie install maxmind-db/reader-ext

Prerequisites

The extension requires the libmaxminddb C library:

Ubuntu/Debian

sudo apt-get install libmaxminddb-dev

macOS

brew install libmaxminddb

Windows

See libmaxminddb installation instructions.

Documentation

See the main repository for full documentation: https://github.com/maxmind/MaxMind-DB-Reader-php

Related Packages

Support

Please report issues at: https://github.com/maxmind/MaxMind-DB-Reader-php/issues

Copyright and License

This software is Copyright (c) 2014-2025 by MaxMind, Inc.

This is free software, licensed under the Apache License, Version 2.0.