Skip to content
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

[Feature Request] Add a updater feature inside maxmind official GeoIP2 php SDK #226

Open
AutisticShark opened this issue May 3, 2024 · 1 comment

Comments

@AutisticShark
Copy link

AutisticShark commented May 3, 2024

Could Maxmind maintain a PHP version of updater or directly integrate such a function into the SDK itself? Something like this:

use GeoIp2\Database\Updater;

...

$updater = new Updater('account_id', 'license_key', '/storage/GeoLite2', ['GeoLite2-City', 'GeoLite2-Country']);

...

$updater->run();

I know there is an official updater that is written in Go, but it's kinda weird to ship a 5.33MB binary along with other open-source PHP code and I want a trusted dependency in our open-source projects to prevent such a thing from ever happening again.

@christophermluna
Copy link
Contributor

Building an equivalent to our geoipupdate tool in additional languages goes beyond the scope of the support that we normally provide, and I don't anticipate we'll have the resources to devote to this in the near future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants