New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

torann/geoip

Support for multiple Geographical Location services.
18,003,710 2,235

Larablocks Analysis

torann/geoip works with Laravel 8 to 13 (latest release 3.0.10, Apr 10, 2026).

Laravel 4 to 7 in earlier releases.

Recommendation checks

Recommended

Recommended by Larablocks: meets all 4 checks.

  • Works with Laravel 13, the current version
  • Released in the last 12 months (Apr 10, 2026)
  • 730,669 downloads a month (at least 10,000)
  • 2,235 GitHub stars (at least 100)

State

Maintained
  • Last stable release: Apr 10, 2026.
  • 1 release in the last 12 months.
  • First released: Dec 12, 2013.
  • Monthly downloads: 730,669, up 108% from six months ago.
  • 82 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.

Install
composer require torann/geoip
Latest Version:3.0.10
PHP:^8.0|^8.1|^8.2|^8.3|^8.4|^8.5
Laravel:8 – 13
Older releases:4 – 7
License:BSD-2-Clause
Last Updated:Apr 10, 2026
Links: GitHub  ·  Packagist
Maintainer: torann

GeoIP for Laravel

Latest Stable Version Total Downloads Patreon donate button Donate to this project using Paypal

Determine the geographical location and currency of website visitors based on their IP addresses.

v3.0.8 Possible Breaking Change

Out of the box the system no longer comes with a service pre-configured. Which will cause an error for those who did NOT previously publish the configurtion file. Follow the getting started guide on how to publish the config and how to set up a service.

Sorry for this inconvenience, but MaxMind made me remove the free service that was the default. If the config file was published prior to this change, you should not been affected.

Official Documentation

Documentation for the package can be found on Lyften.com.

Contributions

Many people have contributed to project since its inception.

Thanks to:

Alternatives to torann/geoip

stevebauman/location

Retrieve a user's location by their IP Address

10,597,001 1,312
nnjeim/world

Laravel countries, states, cities, currencies, languages and IP geolocation

784,938 998
adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

116,306 66

Version History

Version Released PHP Laravel License
3.0.10 ^8.0|^8.1|^8.2|^8.3|^8.4|^8.5 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0 BSD-2-Clause
3.0.9 ^8.0|^8.1|^8.2|^8.3 ^8.0|^9.0|^10.0|^11.0|^12.0 BSD-2-Clause
3.0.8 ^8.0|^8.1|^8.2|^8.3 ^8.0|^9.0|^10.0|^11.0 BSD-2-Clause
3.0.7 ^8.0|^8.1|^8.2|^8.3 ^8.0|^9.0|^10.0|^11.0 BSD-2-Clause
3.0.6 ^8.0|^8.1|^8.2 ^8.0|^9.0|^10.0|^11.0 BSD-2-Clause