PHPackages                             cyber-duck/laravel-maxmind-geolocate - 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. cyber-duck/laravel-maxmind-geolocate

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

cyber-duck/laravel-maxmind-geolocate
====================================

Laravel Package to utilise MaxMind GeoLite2 Database for IP based GeoLocation

v1.0.2(2y ago)2257MITPHPPHP ^8.1

Since Jul 25Pushed 2y ago11 watchersCompare

[ Source](https://github.com/Cyber-Duck/laravel_maxmind_geolocate)[ Packagist](https://packagist.org/packages/cyber-duck/laravel-maxmind-geolocate)[ RSS](/packages/cyber-duck-laravel-maxmind-geolocate/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (5)Versions (4)Used By (0)

Laravel GeoLocation Package
===========================

[](#laravel-geolocation-package)

This package utilises the MaxMind GeoLite databases to allow GeoLocation of an IP Address.

Console Commands
----------------

[](#console-commands)

### php artisan geolocation:update

[](#php-artisan-geolocationupdate)

Downloads a recent archive of the database from MaxMind, validates the hash, and stores on a remote disk (e.g S3) as specified in configuration.

### php artisan geolocation:fetch

[](#php-artisan-geolocationfetch)

Fetches, extracts, and moves to application storage, the archive previously stored on a remove disk (e.g S3)

Usage
-----

[](#usage)

Once a database has been downloaded and extracted to the app local storage directory, to geolocate an IP address, use the provided facade, as such:

```
use CyberDuck\GeoLocate\Facades\GeoLocate;

$result = GeoLocate::country('1.2.3.4');

// $result is an instance of \GeoIp2\Record\Country

$result->isoCode // == 'GB' for example.
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% 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

Every ~0 days

Total

3

Last Release

1074d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c45a99726cc30692bc4821cfc198df1f5de85b1a15f9b66a0bf739acbac0309?d=identicon)[cyber-duck](/maintainers/cyber-duck)

---

Top Contributors

[![Luke-Shepp](https://avatars.githubusercontent.com/u/35956374?v=4)](https://github.com/Luke-Shepp "Luke-Shepp (7 commits)")[![worzy](https://avatars.githubusercontent.com/u/1092417?v=4)](https://github.com/worzy "worzy (1 commits)")

### Embed Badge

![Health badge](/badges/cyber-duck-laravel-maxmind-geolocate/health.svg)

```
[![Health](https://phpackages.com/badges/cyber-duck-laravel-maxmind-geolocate/health.svg)](https://phpackages.com/packages/cyber-duck-laravel-maxmind-geolocate)
```

###  Alternatives

[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M201](/packages/laravel-ai)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9762.4M131](/packages/roots-acorn)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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