Torann / laravel-geoip by torann

Support for multiple Geographical Location services.
9,930,207
2,109
62
Package Data
Maintainer Username: torann
Maintainer Contact: torann@gmail.com (Daniel Stainback)
Package Create Date: 2013-12-11
Package Last Update: 2024-07-23
Home Page: http://lyften.com/projects/laravel-geoip
Language: PHP
License: BSD-2-Clause
Last Refreshed: 2024-11-14 15:09:17
Package Statistics
Total Downloads: 9,930,207
Monthly Downloads: 219,927
Daily Downloads: 10,315
Total Stars: 2,109
Total Watchers: 62
Total Forks: 372
Total Open Issues: 76

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 Lyften.com.

Laravel 4

For Laravel 4 Installation see version 0.1.1

Change Log

v1.0.2

  • Support double IP addresses #25

v1.0.1

  • Fix bug #60

v1.0.0

  • 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 ip-api.com service (Thanks to nikkiii)

v0.2.1

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

v0.2.0

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

Contributions

Many people have contributed to project since its inception.

Thanks to: