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)2184MITPHPPHP ^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 1mo ago

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

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

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

1021d 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

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)

PHPackages © 2026

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