PHPackages                             tronovav/geoip2-update - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tronovav/geoip2-update

ActiveLibrary

tronovav/geoip2-update
======================

Update GeoIP2/GeoLite2 databases from your script, program or via composer.

v2.3.1(2y ago)51330.6k↑11.2%16[1 issues](https://github.com/tronovav/geoip2-update/issues)1MITPHPPHP &gt;=5.3

Since Sep 14Pushed 1y ago3 watchersCompare

[ Source](https://github.com/tronovav/geoip2-update)[ Packagist](https://packagist.org/packages/tronovav/geoip2-update)[ RSS](/packages/tronovav-geoip2-update/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)DependenciesVersions (7)Used By (1)

[![Geoip2 Update](https://user-images.githubusercontent.com/25905384/111375423-4631ce00-86af-11eb-81a9-2bc4dab89068.png)](https://www.geodbase-update.com/?utm_source=github&utm_medium=organic&utm_campaign=github_project_page&utm_content=main_banner)

Geoip2 Update is a PHP tool for updating Maxmind GeoLite2 and GeoIP2 databases from your script, application or via Composer.

[![Latest Stable Version](https://camo.githubusercontent.com/0678e15e196bf8940ce3f748b06dc04e877fc67935963763914681a48cd2b6e7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f74726f6e6f7661762f67656f6970322d757064617465)](https://packagist.org/packages/tronovav/geoip2-update)[![GitHub downloads](https://camo.githubusercontent.com/8ce80847d3a519b80fce7d7b884a0d9db1d4f786c5e1801a11fde62016792af5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f74726f6e6f7661762f67656f6970322d757064617465)](https://packagist.org/packages/tronovav/geoip2-update)

INSTALLATION
------------

[](#installation)

```
 composer require tronovav/geoip2-update
```

DOCUMENTATION
-------------

[](#documentation)

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 -&gt; [GeoIP2 Update Documentation](https://www.geodbase-update.com/?utm_source=github&utm_medium=organic&utm_campaign=github_project_page&utm_content=documentation_link)**

FEATURES
--------

[](#features)

### 1. Updating GeoIP2 databases via Composer.

[](#1-updating-geoip2-databases-via-composer)

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`.

### 2. Updating GeoIP2 databases from your PHP application.

[](#2-updating-geoip2-databases-from-your-php-application)

You can use this option to update `GeoIP2` databases from your PHP project, or use `Cron` on Linux, or use `Task Scheduler` on Windows.

### 3. Simple, cross-platform and reliable.

[](#3-simple-cross-platform-and-reliable)

Does not depend on the operating system and can be used on hosting services and production servers.

COPYRIGHT AND LICENSE
---------------------

[](#copyright-and-license)

This software is Copyright (c) 2021 by Andrey Tronov.

This is free software, licensed under the MIT License.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~8 days

Total

6

Last Release

936d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/15120ec450e08f80031ad02f1e30b073e5b901d5f677e102d539d7288cc7313c?d=identicon)[tronovav](/maintainers/tronovav)

---

Top Contributors

[![tronovav](https://avatars.githubusercontent.com/u/25905384?v=4)](https://github.com/tronovav "tronovav (3 commits)")

---

Tags

geogeoipgeoip2geoip2-databasesgeolite2geolocationmaxmindgeoipgeolocationmaxmindgeoip2geolite2

### Embed Badge

![Health badge](/badges/tronovav-geoip2-update/health.svg)

```
[![Health](https://phpackages.com/badges/tronovav-geoip2-update/health.svg)](https://phpackages.com/packages/tronovav-geoip2-update)
```

###  Alternatives

[geoip2/geoip2

MaxMind GeoIP2 PHP API

2.5k85.4M294](/packages/geoip2-geoip2)[maxmind-db/reader

MaxMind DB Reader API

69699.2M47](/packages/maxmind-db-reader)[nnjeim/world

Laravel countries, states, cities, currencies, languages and IP geolocation

970361.2k3](/packages/nnjeim-world)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
