PHPackages                             ayesh/geo-ip-database - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. ayesh/geo-ip-database

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ayesh/geo-ip-database
=====================

Weekly updated database of IP CIDR to Country codes, indexed by the first 1/4th of the IP address

v1.1.20260329(1mo ago)1043221CC-BY-NC-SA-4.0CI passing

Since Jan 18Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/Ayesh/Geo-IP-Database)[ Packagist](https://packagist.org/packages/ayesh/geo-ip-database)[ RSS](/packages/ayesh-geo-ip-database/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (358)Used By (1)

Geo IP Database
===============

[](#geo-ip-database)

This is an automated repository that downloads and processes GeoLite database from [Maxmind GeoLite database](#source), and processes it to be consumed by [`ayesh/geo-ip`](https://github.com/Ayesh/Geo-IP) composer package.

This repository only contains the JSON files that other packages (mainly [`ayesh/geo-ip`](https://github.com/Ayesh/Geo-IP)) consumes.

This repository is automatically updated on every Monday, and if there are new changes, a new minor version will be tagged and published automatically.

See [`Ayesh/Geo-IP-Tree-Builder`](https://github.com/Ayesh/Geo-IP-Tree-Builder) for the actual parser.

Usage
-----

[](#usage)

[`ayesh/geo-ip`](https://github.com/Ayesh/Geo-IP) package is the main target use case, and that package `require`s this repository. If you use `ayesh/geo-ip` package, no further action is necessary.

### Composer

[](#composer)

```
composer require ayesh/geo-ip-database ^1.0.0
```

### NPM/Yarn

[](#npmyarn)

```
npm i @ayesh/geo-ip-database
```

Updates
-------

[](#updates)

This repository will be updated and tagged automatically. Make sure to require the `ayesh/geo-ip-database` without pinning a specific version (e.g `^1.0.0`), and running `npm up` or `composer update` should automatically use the newest database version.

Source
------

[](#source)

This product includes GeoLite2 data created by MaxMind, available from .

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance90

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity73

Established project with proven stability

 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 ~5 days

Total

357

Last Release

51d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1703f88c1f225e3fadff28458e81328f86668d9631a8c489f45ea1aaebe12df2?d=identicon)[Ayesh](/maintainers/Ayesh)

---

Top Contributors

[![Ayesh](https://avatars.githubusercontent.com/u/811553?v=4)](https://github.com/Ayesh "Ayesh (411 commits)")

### Embed Badge

![Health badge](/badges/ayesh-geo-ip-database/health.svg)

```
[![Health](https://phpackages.com/badges/ayesh-geo-ip-database/health.svg)](https://phpackages.com/packages/ayesh-geo-ip-database)
```

###  Alternatives

[lokielse/laravel-pinyin

Chinese Pinyin Bundle For Laravel

1613.6k](/packages/lokielse-laravel-pinyin)

PHPackages © 2026

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