PHPackages                             karjah/laravel-geo-ip - 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. [Framework](/categories/framework)
4. /
5. karjah/laravel-geo-ip

ActiveLibrary[Framework](/categories/framework)

karjah/laravel-geo-ip
=====================

Uses ip-api.com to get geolocation information for IP addresses.

v1.0.0(1mo ago)01MITPHPPHP ^8.4

Since Apr 22Pushed 1mo agoCompare

[ Source](https://github.com/karjah/laravel-geo-ip)[ Packagist](https://packagist.org/packages/karjah/laravel-geo-ip)[ Docs](https://github.com/karjah/laravel-geo-ip)[ RSS](/packages/karjah-laravel-geo-ip/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Geo IP for Laravel
==================

[](#geo-ip-for-laravel)

A lightweight, easy way to get gelocation information from an IP address.

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

[](#installation)

1. Install via composer:

```
composer require karjah/laravel-geo-ip
```

Usage
-----

[](#usage)

### Using the Facade

[](#using-the-facade)

```
use Karjah\GeoIP\Facades\GeoIp;

$geoData = GeoIP::get($ipAddress);

// Getting values
$countryCode = $geoData->countryCode;
```

### Available Values

[](#available-values)

These are the values stored in the GeoIp object.

```
status // success or fail
country
countryCode
region
city

ip
isp

message // Only if status = fail
```

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance90

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

48d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bd827b2f3efe7fd857c33f99b53aed72bb1306e4148d6eb342a2ac8ef89d77e9?d=identicon)[karjah](/maintainers/karjah)

---

Top Contributors

[![karjah](https://avatars.githubusercontent.com/u/5018964?v=4)](https://github.com/karjah "karjah (2 commits)")

---

Tags

frameworklaravelgeolocationIP

### Embed Badge

![Health badge](/badges/karjah-laravel-geo-ip/health.svg)

```
[![Health](https://phpackages.com/badges/karjah-laravel-geo-ip/health.svg)](https://phpackages.com/packages/karjah-laravel-geo-ip)
```

###  Alternatives

[laravel/laravel

The skeleton application for the Laravel framework.

84.4k62.4M1.0k](/packages/laravel-laravel)[unopim/unopim

UnoPim Laravel PIM

10.1k2.2k](/packages/unopim-unopim)[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3861.7k](/packages/codewithdennis-larament)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11914.4k42](/packages/kompo-kompo)[ecotone/laravel

Ecotone for Laravel — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Laravel Queue, via PHP attributes.

21313.7k3](/packages/ecotone-laravel)

PHPackages © 2026

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