PHPackages                             worksome/laravel-ip-geolocation - 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. worksome/laravel-ip-geolocation

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

worksome/laravel-ip-geolocation
===============================

A driver-based package to handle IP geolocation for Laravel

v0.2.4(4mo ago)0282.9k↑38.6%2[2 PRs](https://github.com/worksome/laravel-ip-geolocation/pulls)MITPHPPHP ^8.4CI passing

Since Oct 26Pushed 2mo ago6 watchersCompare

[ Source](https://github.com/worksome/laravel-ip-geolocation)[ Packagist](https://packagist.org/packages/worksome/laravel-ip-geolocation)[ Docs](https://github.com/worksome/laravel-ip-geolocation)[ GitHub Sponsors](https://github.com/worksome)[ RSS](/packages/worksome-laravel-ip-geolocation/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (5)Dependencies (18)Versions (11)Used By (0)

Laravel IP Geolocation
======================

[](#laravel-ip-geolocation)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e90e25f6125cfc374f8551253ee2bcfa079f354af8d874b2cd35225eb1b2273c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f776f726b736f6d652f6c61726176656c2d69702d67656f6c6f636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/worksome/laravel-ip-geolocation)[![GitHub Tests Action Status](https://camo.githubusercontent.com/5c3e0e79e0eee4214df73b848c648f0e96ce7ed37d326c543d357035edba4aea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776f726b736f6d652f6c61726176656c2d69702d67656f6c6f636174696f6e2f74657374732e796d6c3f6272616e63683d6d61696e267374796c653d666c61742d737175617265266c6162656c3d7465737473)](https://github.com/worksome/laravel-ip-geolocation/actions?query=workflow%3ATests+branch%3Amain)[![GitHub Static Analysis Action Status](https://camo.githubusercontent.com/7434c1e6879ba7f0dfd82b1750c5ebf8bea3c598d9abbd0d69e13faecc004775/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f776f726b736f6d652f6c61726176656c2d69702d67656f6c6f636174696f6e2f7374617469632e796d6c3f6272616e63683d6d61696e266c6162656c3d737461746963253230616e616c79736973267374796c653d666c61742d737175617265)](https://github.com/worksome/laravel-ip-geolocation/actions?query=workflow%3A%22Static%20Analysis%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f72e2fbb51c7d4b8e70c137aacc7cbcf0758800f525b2b07cb698aae6794d35c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f776f726b736f6d652f6c61726176656c2d69702d67656f6c6f636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/worksome/laravel-ip-geolocation)

A driver-based package to handle IP geolocation for Laravel

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

[](#installation)

You can install the package via composer:

```
composer require worksome/laravel-ip-geolocation
```

You can publish the config file with:

```
php artisan vendor:publish --tag="ip-geolocation-config"
```

Usage
-----

[](#usage)

```
use Worksome\IpGeolocation\Facades\IpGeolocation;

/** @var \Worksome\IpGeolocation\DataValues\Location $location */
$location = IpGeolocation::location('2606:4700:4700::1111');

echo $location->country;
echo $location->city;
echo $location->zipcode;
```

### The `about` command

[](#the-about-command)

This package adds information to the `artisan about` command. This information can be disabled by setting the `ip-geolocation.features.about_command` configuration to `false`.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [GitHub Releases](https://github.com/worksome/laravel-ip-geolocation/releases) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Owen Voke](https://github.com/worksome)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance81

Actively maintained with recent releases

Popularity36

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~203 days

Recently: every ~281 days

Total

7

Last Release

125d ago

PHP version history (4 changes)v0.1.0PHP ^8.1

v0.2.0PHP ^8.2

v0.2.2PHP ^8.3

v0.2.4PHP ^8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1899334?v=4)[Owen Voke](/maintainers/owenvoke)[@owenvoke](https://github.com/owenvoke)

---

Top Contributors

[![owenvoke](https://avatars.githubusercontent.com/u/1899334?v=4)](https://github.com/owenvoke "owenvoke (15 commits)")[![lukeraymonddowning](https://avatars.githubusercontent.com/u/12202279?v=4)](https://github.com/lukeraymonddowning "lukeraymonddowning (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (1 commits)")[![olivernybroe](https://avatars.githubusercontent.com/u/5870441?v=4)](https://github.com/olivernybroe "olivernybroe (1 commits)")

---

Tags

laravelip geolocationworksome

###  Code Quality

TestsPest

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/worksome-laravel-ip-geolocation/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[statamic/cms

The Statamic CMS Core Package

4.8k3.6M994](/packages/statamic-cms)[unopim/unopim

UnoPim Laravel PIM

10.5k2.4k](/packages/unopim-unopim)[nativephp/mobile

NativePHP for Mobile

1.1k75.1k98](/packages/nativephp-mobile)[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)

PHPackages © 2026

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