geocoder-php / ip2location-provider
Geocoder IP2Location adapter
Requires
- php: ^7.4 || ^8.0
- geocoder-php/common-http: ^4.0
- willdurand/geocoder: ^4.0
Requires (Dev)
- geocoder-php/provider-integration-tests: ^1.0
- php-http/curl-client: ^2.2
- php-http/message: ^1.0
- phpunit/phpunit: ^9.5
Provides
This package is auto-updated.
Last update: 2024-12-14 11:37:43 UTC
README
This is the IP2Location provider from the PHP Geocoder. This is a READ ONLY repository. See the main repo for information and documentation.
Install
composer require geocoder-php/ip2location-provider
Note
This provider requires IP2Location™ IP Geolocation Web Service subscription. It is a paid solution with high accuracy. For free solution, please use our free IpInfoDB project. Ipinfodb is using IP2Location LITE database which has less accuracy at city level.
Please note that this provider is querying IP2Location Web Service WS9 package and each query will cost 4 credits.
Contribute
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.