PHPackages                             webmaster/maxmind-db-reader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. webmaster/maxmind-db-reader

ActiveLibrary[Database &amp; ORM](/categories/database)

webmaster/maxmind-db-reader
===========================

This is the MaxMind DB Reader for Hyperf or other resident process framework. It preloads the entire mmdb file into memory, with the memory usage equal to the size of the mmdb file. It has no disk IO operations and maintains query efficiency at the microsecond level.

v1.0.0(1y ago)01.7k↑100%Apache-2.0PHPPHP &gt;=7.2

Since Jan 26Pushed 1y ago1 watchersCompare

[ Source](https://github.com/AdmUU/maxmind-db-reader)[ Packagist](https://packagist.org/packages/webmaster/maxmind-db-reader)[ Docs](https://github.com/AdmUU/maxmind-db-reader)[ RSS](/packages/webmaster-maxmind-db-reader/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

MaxMind DB Reader Hyperf API
============================

[](#maxmind-db-reader-hyperf-api)

Description
-----------

[](#description)

This is the MaxMind DB Reader for PHP Hyperf or other resident process framework. It preloads the entire mmdb file into memory, with the memory usage equal to the size of the mmdb file. It has no disk IO operations and maintains query efficiency at the microsecond level.

### Install Dependencies

[](#install-dependencies)

Run in your project root:

```
php composer.phar require webmaster/maxmind-db-reader:~1.0

```

Usage
-----

[](#usage)

Example
-------

[](#example)

```
