mjaschen/phpgeo
Simple Yet Powerful Geo Library for PHP observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 96
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4950
- days_rel: n/a
- days_push: 27
- n_releases_24m: 0
Adoption not part of the score
1612 stars · 198 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
phpgeo is a PHP library providing abstractions for geographical coordinates, polylines, polygons, and bounds with support for different ellipsoids. It enables high-precision calculations such as distances between points, track lengths, and geofence checks.
Use cases
- calculate the distance between two GPS coordinates in PHP
- compute the length of a GPS track or polyline
- check whether a point is inside a polygon geofence
- simplify a GPS track with the Douglas-Peucker algorithm
- convert coordinates between formats and ellipsoids
- calculate the area of a polygon from coordinates
When to choose
- you need precise geodesic distance calculations (Haversine/Vincenty) in a PHP project
- you work with GPS tracks, polylines, or polygons and need geometry helpers
- you want a lightweight, well-documented pure-PHP geo library with no heavy dependencies
When to avoid
- you need a full geospatial database or spatial SQL features (use PostGIS instead)
- you need map rendering, tile servers, or routing engines
- your project runs on PHP below 8.2 without using an older library version
Facets
library · maturity active
geospatial math developer-tools php geo distance-calculation vincenty polyline geofence gps-tracks douglas-peucker coordinates maps
3 sources
- readme: https://github.com/mjaschen/phpgeo · fetched 2026-08-28 · 174db0e29b12
- homepage: https://phpgeo.marcusjaschen.de · fetched 2026-08-29 · 41d5a05c3f90
- site_page: https://phpgeo.marcusjaschen.de/010_Installation · fetched 2026-08-29 · 7b78002d0df8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mjaschen/phpgeo | main | 75 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem