PHPackages                             beecubu/geophp - 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. beecubu/geophp

ActiveLibrary

beecubu/geophp
==============

GeoPHP is an modernized version of the original GeoPHP library which is an open-source native PHP library for doing geometry operations. It is written entirely in PHP and can therefore run on shared hosts. It can read and write a wide variety of formats: WKT (including EWKT), WKB (including EWKB), GeoJSON, KML, GPX, GeoRSS). It works with all Simple-Feature geometries (Point, LineString, Polygon, GeometryCollection etc.) and can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information.

v1.0.3(2y ago)014BSD-3-ClausePHPPHP &gt;=7.2.0

Since Nov 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/xEsk/GeoPHP)[ Packagist](https://packagist.org/packages/beecubu/geophp)[ Docs](https://github.com/xEsk/GeoPHP)[ RSS](/packages/beecubu-geophp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)DependenciesVersions (3)Used By (0)

[geophp.net](https://geophp.net "GeoPHP homepage")

About this fork
---------------

[](#about-this-fork)

The primary objective of this fork is to modernize the source code by transitioning to a contemporary version of PHP, incorporating namespaces and introducing new features.

GeoPHP README
-------------

[](#geophp-readme)

GeoPHP is a open-source native PHP library for doing geometry operations. It is written entirely in PHP and can therefore run on shared hosts. It can read and write a wide variety of formats: WKT (including EWKT), WKB (including EWKB), GeoJSON, KML, GPX, and GeoRSS. It works with all Simple-Feature geometries (Point, LineString, Polygon, GeometryCollection etc.) and can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information.

geoPHP also helpfully wraps the GEOS php extension so that applications can get a transparent performance increase when GEOS is installed on the server. When GEOS is installed, geoPHP also becomes fully compliant with the OpenGIS® Implementation Standard for Geographic information. With GEOS you get the full-set of openGIS functions in PHP like Union, IsWithin, Touches etc. This means that applications get a useful "core-set" of geometry operations that work in all environments, and an "extended-set"of operations for environments that have GEOS installed.

See the 'getting started' section below for references and examples of everything that geoPHP can do.

This project is currently looking for co-maintainers. If you think you can help out, please send me a message. Forks are also welcome, please issue pull requests and I will merge them into the main branch.

Credit
------

[](#credit)

GeoPHPwithFeatures Maintainer: Yermo Lamers

GeoPHP Maintainer: Patrick Hayes

Additional Contributors:

- GeoMemes Research ()
- HighWire Press () and GeoScienceWorld ()
- Arnaud Renevier (gisconverter.php)
- Dave Tarc
- Elliott Hunston (documentation)

This library is open-source and dual-licensed under both the Modified BSD License and GPLv2. Either license may be used at your option.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

2

Last Release

918d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2e8827c73154c9c4ba86dc978faf3848f239c2cb59c2bdaddcc65ddd3679122?d=identicon)[Beecubu](/maintainers/Beecubu)

---

Top Contributors

[![xEsk](https://avatars.githubusercontent.com/u/2213183?v=4)](https://github.com/xEsk "xEsk (7 commits)")

### Embed Badge

![Health badge](/badges/beecubu-geophp/health.svg)

```
[![Health](https://phpackages.com/badges/beecubu-geophp/health.svg)](https://phpackages.com/packages/beecubu-geophp)
```

PHPackages © 2026

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