PHPackages                             geo-io/interface - 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. geo-io/interface

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

geo-io/interface
================

Geo I/O base interfaces.

v1.0.1(9y ago)626.1M—9.2%17MITPHPPHP &gt;=5.3.3

Since Apr 17Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (7)

Geo I/O Interface
=================

[](#geo-io-interface)

[![Build Status](https://github.com/geo-io/interface/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/geo-io/interface/actions/workflows/ci.yml)[![Coverage Status](https://camo.githubusercontent.com/d2beff9ec2cb1584caea48e4f03ebdf9944b8246233799929dcbee5d92132de8/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f67656f2d696f2f696e746572666163652f62616467652e7376673f6272616e63683d6d61696e)](https://coveralls.io/github/geo-io/interface?branch=main)

Geo I/O base interfaces, enums and value objects.

- [Installation](#installation)
- [Interfaces](#interfaces)
    - [Factory](#factory)
    - [Extractor](#extractor)
- [Enums](#enums)
    - [Dimension](#dimension)
    - [GeometryType](#geometrytype)
- [Value Objects](#value-objects)
    - [Coordinates](#Coordinates)

Installation
------------

[](#installation)

Install [through composer](http://getcomposer.org). Check the [packagist page](https://packagist.org/packages/geo-io/interface) for all available versions.

```
composer require geo-io/interface
```

Interfaces
----------

[](#interfaces)

### Factory

[](#factory)

This [interface](src/Factory.php) is used by the Geo I/O parser implementations to create the actual geometric objects from the parsed representations.

#### Implementations

[](#implementations)

- [Geo I/O Geometry](https://github.com/geo-io/geometry)
- [Geo I/O GeoJSON](https://github.com/geo-io/geojson)

### Extractor

[](#extractor)

This [interface](src/Extractor.php) is used by the Geo I/O generator implementations to extract data from geometric objects for the generated geometric representations.

- [Geo I/O Geometry](https://github.com/geo-io/geometry)
- [Geo I/O GeoJSON](https://github.com/geo-io/geojson)

Enums
-----

[](#enums)

### Dimension

[](#dimension)

This [enum](src/Dimension.php) provides constants to define the dimension of geometric objects.

### GeometryType

[](#geometrytype)

This [enum](src/GeometryType.php) provides constants to define the type of geometric objects.

Value Objects
-------------

[](#value-objects)

### Coordinates

[](#coordinates)

This [class](src/Coordinates.php) represents coordinates with `x`, `y` and optional `z` and `m` properties.

License
-------

[](#license)

Copyright (c) 2014-2022 Jan Sorgalla. Released under the [MIT License](LICENSE).

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity54

Moderate usage in the ecosystem

Community15

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

3582d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5de14776bbddf901c6e24d35829fe66fe997c303d53aca83cc7d1a90bb0b7110?d=identicon)[jsor](/maintainers/jsor)

---

Top Contributors

[![jsor](https://avatars.githubusercontent.com/u/55574?v=4)](https://github.com/jsor "jsor (35 commits)")

---

Tags

geogeographygeometryspatialiogeometrygeo

### Embed Badge

![Health badge](/badges/geo-io-interface/health.svg)

```
[![Health](https://phpackages.com/badges/geo-io-interface/health.svg)](https://phpackages.com/packages/geo-io-interface)
```

###  Alternatives

[react/stream

Event-driven readable and writable streams for non-blocking I/O in ReactPHP

689126.8M194](/packages/react-stream)[mjaschen/phpgeo

Simple Yet Powerful Geo Library

1.6k8.6M22](/packages/mjaschen-phpgeo)[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[pragmarx/countries

PHP Countries and Currencies

1.9k3.3M18](/packages/pragmarx-countries)[geokit/geokit

Geo-Toolkit for PHP

251924.7k6](/packages/geokit-geokit)[brick/geo

GIS geometry library

245862.1k15](/packages/brick-geo)

PHPackages © 2026

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