-
-
Notifications
You must be signed in to change notification settings - Fork 397
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geoip for php 8 #1034
Comments
Is that extension published on pecl? |
Is this a PHP module (aka extension)? Or it's a PHP project? |
No, unfortunately i can't find it on pecl. Here's what we did on our side
Star in the curl address is a local server in our infrastructure for caching.
It's available by 2 way
Here's a example how to use it : https://www.php.net/manual/en/book.geoip.php#123492 |
About https://github.com/rlerdorf/geoip: keeping support for PHP modules that are not published on pecl requires a lot of manual support and special handling of updates. What about asking them to publish it on PECL? About https://github.com/maxmind/GeoIP2-php: as you wrote, it's a PHP project, not a PHP extension written in C, so you can install it with composer and not with |
For https://github.com/rlerdorf/geoip : An issue has been opened about that but there's nothing since 2021 rlerdorf/geoip#1 I think we should forget about this one. For https://github.com/maxmind/GeoIP2-php : I think a mention should be put in your documentation to use that instead for Php 8 for new user who may need this functionality A big thank you for how responsive you are on this repository. Very impressive ! |
If the rlerdof project has such a relevant issue open for 3 years I don't think it's maintained that much (another reason for not adding support to it).
Are you suggesting that I should describe any composer-based alternative that has some reations with all the supported C extensions? For sure I won't do that. |
Could you use this repos instead for Geoip ?
https://github.com/rlerdorf/geoip
This is what we used for few years now.
P.S. Geoip2 would make sense too : https://github.com/maxmind/GeoIP2-php
The text was updated successfully, but these errors were encountered: