Skip to content
Determine the geographical location of website visitors based on their IP addresses.
Branch: master
Clone or download
Latest commit b205c58 Jan 21, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
config Added support for Aug 24, 2018
resources Add test database Oct 2, 2016
src Linter Jan 21, 2019
tests Linter Jan 21, 2019
.gitignore Add handle method in order to delegate to fire method for Laravel 5.5… Jul 23, 2017
.travis.yml Fix tests Jan 21, 2019
LICENSE Update and rename LICENCE to LICENSE May 29, 2018 Update readme Oct 17, 2016
composer.json Update php version and Laravel versions Jan 21, 2019
phpunit.xml Update tests Oct 2, 2016

GeoIP for Laravel 5

Build Status Latest Stable Version Total Downloads Patreon donate button Donate weekly to this project using Gratipay Donate to this project using Flattr Donate to this project using Paypal

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

Official Documentation

Documentation for the package can be found on

Laravel 4

For Laravel 4 Installation see version 0.1.1

Change Log


  • Support double IP addresses #25


  • Fix bug #60


  • Major code refactoring and cleanup
  • Add currency support
  • Add Location object
  • Add cache drivers
  • Add state_name to $location array #46
  • Set locales in config #45
  • Raise PHP requirement to 5.5
  • Fix file structure to adher to PSR-4 file structure. #40
  • Support custom Geo IP services
    • Added service (Thanks to nikkiii)


  • Add database_path to config
  • Add update_url to config
  • Add GeoIP database update command "php artisan geoip:update"
  • Add some test
  • Format code


  • Update to Laravel 5
  • Support IPv6
  • Log address not found exceptions
  • Supports a custom default location


Many people have contributed to project since its inception.

Thanks to:

You can’t perform that action at this time.