PHPackages                             davispeixoto/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. davispeixoto/maxmind-db-reader

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

davispeixoto/maxmind-db-reader
==============================

Laravel 4 MaxMind DB Reader port

1.0.0(12y ago)223MITPHPPHP &gt;=5.3.0

Since Feb 28Pushed 12y ago1 watchersCompare

[ Source](https://github.com/davispeixoto/maxmind-db-reader-laravel)[ Packagist](https://packagist.org/packages/davispeixoto/maxmind-db-reader)[ RSS](/packages/davispeixoto-maxmind-db-reader/feed)WikiDiscussions master Synced yesterday

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

Laravel 4 MaxMind DB Reader
===========================

[](#laravel-4-maxmind-db-reader)

This Laravel 4 package provides a simple interface for [MaxMind DB Reader](https://github.com/maxmind/MaxMind-DB-Reader-php).

Installation
------------

[](#installation)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `davispeixoto/maxmind-db-reader`.

```
"require": {
	"laravel/framework": "4.1.*",
	"davispeixoto/maxmind-db-reader": "dev-master"
},
"minimum-stability" : "dev"

```

Next, update Composer from the Terminal:

```
composer update

```

Once this operation completes, still in Terminal run:

```
php artisan config:publish davispeixoto/maxmind-db-reader

```

Update the settings in the generated `app/config/packages/davispeixoto/maxmind-db-reader` configuration file with the location of your maxmind db file.

Finally add the service provider. Open `app/config/app.php`, and add a new item to the providers array.

```
'Davispeixoto\MaxmindDbReader\MaxmindDbReaderServiceProvider'

```

That's it! You're all set to go. Just use:

```
Route::get('/test', function() {
	echo print_r(MaxmindDbReader::get($_SERVER['REMOTE_ADDR']) , true);
});

```

### License

[](#license)

This MaxMind DB Reader port is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

### Versioning

[](#versioning)

This projetct follows the [Semantic Versioning](http://semver.org/)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4457d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77ce0bed19c054d8812aedfbd93a6d3a9e40935a818917fa4c6c5427bb447d3b?d=identicon)[davispeixoto](/maintainers/davispeixoto)

---

Top Contributors

[![davispeixoto](https://avatars.githubusercontent.com/u/1113230?v=4)](https://github.com/davispeixoto "davispeixoto (3 commits)")

---

Tags

laravelgeoipmaxmindreaderLaravel 4

### Embed Badge

![Health badge](/badges/davispeixoto-maxmind-db-reader/health.svg)

```
[![Health](https://phpackages.com/badges/davispeixoto-maxmind-db-reader/health.svg)](https://phpackages.com/packages/davispeixoto-maxmind-db-reader)
```

###  Alternatives

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[torann/geoip

Support for multiple Geographical Location services.

2.2k14.2M76](/packages/torann-geoip)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
