PHPackages                             nbz4live/laravel-geoip2 - 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. nbz4live/laravel-geoip2

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

nbz4live/laravel-geoip2
=======================

Laravel wrapper for MaxMind GeoIP2

1.0.5(5y ago)31.2k2MITPHPPHP &gt;=7.2

Since Jul 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/NBZ4live/laravel-geoip2)[ Packagist](https://packagist.org/packages/nbz4live/laravel-geoip2)[ RSS](/packages/nbz4live-laravel-geoip2/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (4)Dependencies (7)Versions (7)Used By (0)

GeoIP2 for Laravel 5.4+
=======================

[](#geoip2-for-laravel-54)

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

[](#installation)

1. In order to install run the following composer command:

```
composer require nbz4live/laravel-geoip2
```

##### Laravel 5.5+ Install skip to step 4.

[](#laravel-55-install-skip-to-step-4)

2. Open your `config/app.php` and add the following to the `providers` array:

```
Nbz4live\LaravelGeoIP2\ServiceProvider::class,
```

3. In the same config/app.php and add the following to the aliases array:

```
'GeoIP2' => Nbz4live\LaravelGeoIP2\Facades\GeoIP2::class,
```

4. You can publish the config file by running (optional):

```
$ php artisan vendor:publish --provider="Nbz4live\LaravelGeoIP2\ServiceProvider"
```

5. Run the update command to download the latest required databases

```
$ php artisan geoip:update
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Every ~173 days

Recently: every ~215 days

Total

6

Last Release

2046d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

1.0.3PHP &gt;=7.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/605126?v=4)[Sergey](/maintainers/NBZ4live)[@NBZ4live](https://github.com/NBZ4live)

---

Top Contributors

[![freezysko](https://avatars.githubusercontent.com/u/661637?v=4)](https://github.com/freezysko "freezysko (19 commits)")[![freezy-sk](https://avatars.githubusercontent.com/u/661637?v=4)](https://github.com/freezy-sk "freezy-sk (19 commits)")[![NBZ4live](https://avatars.githubusercontent.com/u/605126?v=4)](https://github.com/NBZ4live "NBZ4live (13 commits)")[![Hornet-Wing](https://avatars.githubusercontent.com/u/10299554?v=4)](https://github.com/Hornet-Wing "Hornet-Wing (9 commits)")[![cdave3](https://avatars.githubusercontent.com/u/41720?v=4)](https://github.com/cdave3 "cdave3 (4 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")[![evsign](https://avatars.githubusercontent.com/u/7965780?v=4)](https://github.com/evsign "evsign (1 commits)")

---

Tags

laravelgeoipmaxmindgeoip2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nbz4live-laravel-geoip2/health.svg)

```
[![Health](https://phpackages.com/badges/nbz4live-laravel-geoip2/health.svg)](https://phpackages.com/packages/nbz4live-laravel-geoip2)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M337](/packages/psalm-plugin-laravel)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M123](/packages/roots-acorn)[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k108.5M846](/packages/laravel-socialite)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M125](/packages/laravel-pulse)[spatie/laravel-export

Create a static site bundle from a Laravel app

673139.5k6](/packages/spatie-laravel-export)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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