geocoder-php / Geocoder

The most featured Geocoder library written in PHP.
https://geocoder-php.org
MIT License
3.94k stars 517 forks source link

Added IP2Location and IP2LocationBinary provider. #1031

Closed ip2location closed 4 years ago

ip2location commented 4 years ago

Please consider adding IP2Location into your provider list.

Thanks.

ip2location commented 4 years ago

We have made the required changes. Thanks!

jbelien commented 4 years ago

cc @jbelien could you take a look as well?

I'll have a look this weekend 👍

atymic commented 4 years ago

I'll have a look this weekend 👍

Thanks, no rush. Good to have a few sets of eyes :)

jbelien commented 4 years ago

I was planning to release it today but I miss one admin access to finish the process. I contacted @Nyholm. Stay tuned ! 👍

jbelien commented 4 years ago

New providers are released (thanks for the access @Nyholm):

@ip2location The build for IP2Location Binary is currently failing, could you have a look at it ?

jbelien commented 4 years ago

I also added the 2 new providers on the main README: https://github.com/geocoder-php/Geocoder#ip

atymic commented 4 years ago

@jbelien looks like it's because we didn't commit the bin file to the repo (it's a large blob file)

Should we skip the tests in CI, or commit the big file?

jbelien commented 4 years ago

@jbelien looks like it's because we didn't commit the bin file to the repo (it's a large blob file)

Should we skip the tests in CI, or commit the big file?

It shouldn't be an issue since the response are cached, isn't it ? 🤔

atymic commented 4 years ago

I don't think they are cached, since it doesn't make HTTP requests. AFAIK only those can be cached.

jbelien commented 4 years ago

Seems like we added the binary file for the MaxMindBinary Provider (see https://github.com/geocoder-php/Geocoder/tree/master/src/Provider/MaxMindBinary/Tests/fixtures) so I guess we should do the same here!