This is the IP2Location Binary provider from the PHP Geocoder. This is a READ ONLY repository. See the main repo for information and documentation.
composer require geocoder-php/ip2location-binary-provider
This provider requires a BIN database file. You can download the free database from IP2Location LITE website or the commercial database from IP2Location.
For testing, download the BIN database from here, decompress and upload the .BIN file into .\Tests\fixtures
.
Contributions are very welcome! Send a pull request to the main repository or report any issues you find on the issue tracker.