phoenixpeca / geoip
Support for multiple GeoIP services.
1.0.2
2019-09-06 16:31 UTC
Requires
- php: ^7.1
- illuminate/console: ~5.5|^6.0
- illuminate/support: ~5.5|^6.0
- vlucas/phpdotenv: ^3.5
Requires (Dev)
- geoip2/geoip2: ~2.1
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^7.0
Suggests
- geoip2/geoip2: Required to use the MaxMind database or web service with GeoIP (~2.1).
- monolog/monolog: Allows for storing location not found errors to the log
This package is not auto-updated.
Last update: 2024-04-28 03:20:10 UTC
README
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: