Update GeoIP2/GeoLite2 databases from your script, program or via composer.
tronovav/geoip2-update is a Laravel package for update geoip2/geolite2 databases from your script, program or via composer..
It currently has 50 GitHub stars and 351.819 downloads on Packagist (latest version v2.3.1).
Install it with composer require tronovav/geoip2-update.
Discover more Laravel packages by tronovav
or browse all Laravel packages to compare alternatives.
Last updated
Geoip2 Update is a PHP tool for updating Maxmind GeoLite2 and GeoIP2 databases from your script, application or via Composer.
composer require tronovav/geoip2-update
You can read the documentation on setting up and using the library, as well as learn about new features on the official website.
Go to documentation -> GeoIP2 Update Documentation
To update Geoip2 databases via Composer, you can set up an update call in your composer.json.
Each time the composer update command is invoked, the library will check for updates on the "maxmind.com" server and update the Geoip2 databases if necessary.
You can also update only GeoIP2 databases without updating all project dependencies:
composer update tronovav/geoip2-update.
You can use this option to update GeoIP2 databases from your PHP project, or use Cron on Linux, or use Task Scheduler on Windows.
Does not depend on the operating system and can be used on hosting services and production servers.
This software is Copyright (c) 2021 by Andrey Tronov.
This is free software, licensed under the MIT License.