maxmind/GeoIP2-php
PHP API for GeoIP2 webservice client and database reader observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 61
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 198
- age_days: 4866
- days_rel: 48
- days_push: 8
- n_releases_24m: 4
Adoption not part of the score
2490 stars · 286 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library providing a client for MaxMind's GeoIP2 and GeoLite web services and a reader for their MMDB-format geolocation databases. It lets PHP applications look up geographic and network information for IP addresses.
Use cases
- look up the country or city of an IP address in PHP
- read MaxMind GeoLite2 mmdb databases
- query the GeoIP2 Precision web service
- geolocate website visitors by IP
- detect visitor country for content localization
- enrich logs with IP geolocation data
When to choose
- your application is written in PHP and needs IP geolocation
- you use MaxMind GeoIP2 or GeoLite databases or web services
- you need high-performance local mmdb lookups with an optional C extension
When to avoid
- you need geolocation in another language like Python, Go, or JavaScript
- you want geolocation without MaxMind data or services
- you need precise street-level addresses, which IP geolocation cannot provide
Facets
library · maturity stable
sdk http-client search-engine apis developer-tools web-development php geoip ip-geolocation mmdb maxmind geolocation
2 sources
- readme: https://github.com/maxmind/GeoIP2-php · fetched 2026-08-28 · cf0bc4c55d07
- homepage: https://maxmind.github.io/GeoIP2-php/ · fetched 2026-08-29 · be332c9360e5
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| maxmind/GeoIP2-php | main | 86 |
For agents
markdown · JSON · MCP: product_card(name="maxmind/GeoIP2-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem