Skip to content

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

@ghost

Description

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions