PHPackages                             najibismail/multigeoip - 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. najibismail/multigeoip

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

najibismail/multigeoip
======================

Get IP address information from multi geoip providers

v1.0.9(4y ago)01.4kMITPHPPHP ^7.0|^8.0

Since Nov 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/najibismail/multi-geoip)[ Packagist](https://packagist.org/packages/najibismail/multigeoip)[ RSS](/packages/najibismail-multigeoip/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (4)Versions (11)Used By (0)

Multi GeoIP
===========

[](#multi-geoip)

[![Latest Stable Version](https://camo.githubusercontent.com/4377d539af8740d55f9a0b916a91648a5de7b644b71068b31c1f362b35e42f3b/687474703a2f2f706f7365722e707567782e6f72672f6e616a696269736d61696c2f6d756c746967656f69702f76)](https://packagist.org/packages/najibismail/multigeoip) [![Total Downloads](https://camo.githubusercontent.com/30b0c2b8f4bf08b71ff11eb4ef27a64ccb0ad1377a0161f8a5e09dc52433b240/687474703a2f2f706f7365722e707567782e6f72672f6e616a696269736d61696c2f6d756c746967656f69702f646f776e6c6f616473)](https://packagist.org/packages/najibismail/multigeoip) [![Latest Unstable Version](https://camo.githubusercontent.com/af39c42a0450461fdb3074559297ca78cf15963e38f4faf3c5cc1585e09e4c62/687474703a2f2f706f7365722e707567782e6f72672f6e616a696269736d61696c2f6d756c746967656f69702f762f756e737461626c65)](https://packagist.org/packages/najibismail/multigeoip) [![License](https://camo.githubusercontent.com/21b21f51028619a8f63e365081ac239e5f5707b8117059ccd385108365c49e3c/687474703a2f2f706f7365722e707567782e6f72672f6e616a696269736d61696c2f6d756c746967656f69702f6c6963656e7365)](https://packagist.org/packages/najibismail/multigeoip) [![PHP Version Require](https://camo.githubusercontent.com/6923b63f2993d91c7635c1c9f25ab164b4d19873af97b5fa5599bc158da32e0a/687474703a2f2f706f7365722e707567782e6f72672f6e616a696269736d61696c2f6d756c746967656f69702f726571756972652f706870)](https://packagist.org/packages/najibismail/multigeoip)

Get IP address information from multi providers

Requirements
------------

[](#requirements)

- PHP: ^7.0
- Laravel: ~6.0,~7.0,~8.0

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

[](#installation)

To install through composer by using the following command:

```
composer require najibismail/multigeoip

```

Publish Config File
-------------------

[](#publish-config-file)

```
php artisan multigeoip:publish

```

Download Free Maxmind DB
------------------------

[](#download-free-maxmind-db)

```
php artisan multigeoip:maxmind-db

```

Usage
-----

[](#usage)

### Facade

[](#facade)

```
use Najibismail\MultiGeoip\Facades\Multigeoip;

// Auto get an IP Address
$ip_info = Multigeoip::ip();

// [OR]

// Set the IP Address
$ip_info = Multigeoip::ip('{IP ADDRESS}');

// Get the IP Address details
$ip_info->all();
$ip_info->getIp();
$ip_info->getCountryCode();
$ip_info->getCountry();
$ip_info->getCity();
$ip_info->getZipCode();
$ip_info->getState();
$ip_info->getTimezone();
```

### Helper

[](#helper)

```
// Auto get an IP Address
$ip_info = multigeoip();

// [OR]

// Set the IP Address
$ip_info = multigeoip('{IP ADDRESS}');

// Get the IP Address details
$ip_info->all();
$ip_info->getIp();
$ip_info->getCountryCode();
$ip_info->getCountry();
$ip_info->getCity();
$ip_info->getZipCode();
$ip_info->getState();
$ip_info->getTimezone();
```

Disclaimer
----------

[](#disclaimer)

MultiGeoIP uses the GeoLite database from MaxMind. Use of MultiGeoIP services making use of geolocation data is under condition of acceptance of the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/ "http://creativecommons.org/licenses/by-sa/3.0/"). The attribution requirement may be met by including the following in all advertising and documentation mentioning features of or use of this database:

```
This product includes GeoLite data created by MaxMind, available from
http://www.maxmind.com.
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](/LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

 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

Every ~5 days

Recently: every ~11 days

Total

10

Last Release

1599d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6bbff377c2ec04260f1def6250971703eecb896f9a6ef0ddebc4c36f747ccac1?d=identicon)[najibismail](/maintainers/najibismail)

---

Top Contributors

[![najibismail](https://avatars.githubusercontent.com/u/37398742?v=4)](https://github.com/najibismail "najibismail (21 commits)")

---

Tags

laravelgeoipIp informationmulti geoip

### Embed Badge

![Health badge](/badges/najibismail-multigeoip/health.svg)

```
[![Health](https://phpackages.com/badges/najibismail-multigeoip/health.svg)](https://phpackages.com/packages/najibismail-multigeoip)
```

###  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)[bensampo/laravel-embed

Painless responsive embeds for videos, slideshows and more.

142146.8k](/packages/bensampo-laravel-embed)[glhd/conveyor-belt

14797.0k](/packages/glhd-conveyor-belt)[pulkitjalan/ip-geolocation

IP Geolocation Wrapper with Laravel Support

89164.9k1](/packages/pulkitjalan-ip-geolocation)

PHPackages © 2026

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