PHPackages                             php-coord/php-coord - 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. php-coord/php-coord

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

php-coord/php-coord
===================

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

v5.11.1(9mo ago)110914.5k—2.6%21[1 PRs](https://github.com/dvdoug/PHPCoord/pulls)12(MIT and proprietary)PHPPHP ^8.1CI passing

Since Feb 13Pushed 3mo ago11 watchersCompare

[ Source](https://github.com/dvdoug/PHPCoord)[ Packagist](https://packagist.org/packages/php-coord/php-coord)[ Docs](https://www.phpcoord.net/)[ GitHub Sponsors](https://github.com/dvdoug)[ RSS](/packages/php-coord-php-coord/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (47)Used By (12)

PHPCoord
========

[](#phpcoord)

[![Build Status](https://github.com/dvdoug/PHPCoord/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/dvdoug/PHPCoord/actions/workflows/ci.yml)[![Download count](https://camo.githubusercontent.com/a744f5a5a6db4370999b3c2e2d127815ce7a6e50437010e5a6bb4c77e1c2a217/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068702d636f6f72642f7068702d636f6f72642e737667)](https://packagist.org/packages/php-coord/php-coord)[![Current version](https://camo.githubusercontent.com/fe7c732e7589dc25ca981e15eeb467e48d2108a93152f5561492c8854e6410f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7068702d636f6f72642f7068702d636f6f72642e737667)](https://packagist.org/packages/php-coord/php-coord)[![Documentation](https://camo.githubusercontent.com/60cb9b19b5dec884938eb846a388777f0f6ff62fa1fbb62aba4e5e815419298b/68747470733a2f2f72656164746865646f63732e6f72672f70726f6a656374732f706870636f6f72642f62616467652f3f76657273696f6e3d6d6173746572)](https://phpcoord.net/en/stable/)

PHPCoord is a PHP library to aid in handling coordinates. It can convert coordinates for a point from one system to another and also calculate distance between points.

7146 different coordinate systems are supported, covering the entire globe. Some common systems supported include: - WGS84 (GPS)
- OSGB36 (Great Britain)
- NAD27 and NAD83 (North America)
- UTM (Universal Transverse Mercator)
- ED50 and ETRS89 (Europe)
- GDA94 and GDA2020 (Australia)
- NZGD49 and NZGD2000 (New Zealand)

Documentation
-------------

[](#documentation)

[Documentation and usage examples are available here](https://phpcoord.net/en/stable/).

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

[](#installation)

If you use [Composer](http://getcomposer.org/), just add `php-coord/php-coord` to your project's `composer.json` file:

```
    composer require php-coord/php-coord

```

Otherwise, the library is PSR-4 compliant, so will work with the autoloader of your choice.

###  Health Score

64

—

FairBetter than 99% of packages

Maintenance71

Regular maintenance activity

Popularity55

Moderate usage in the ecosystem

Community31

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.6% 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 ~101 days

Recently: every ~81 days

Total

46

Last Release

278d ago

Major Versions

v3.1.2 → v4.0.0beta12021-01-04

v4.6.0 → v5.0.02021-11-12

v4.6.1 → v5.0.12022-01-29

v4.7.0 → v5.1.02022-11-10

v4.7.1 → v5.7.02024-01-26

PHP version history (6 changes)1.0PHP &gt;=5.3.0

v3.0.0PHP ^7.1

v3.1.2PHP ^7.3||^8.0

v4.4.0PHP ^7.4||^8.0

v5.0.0PHP ^8.0

v5.9.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![dvdoug](https://avatars.githubusercontent.com/u/1571110?v=4)](https://github.com/dvdoug "dvdoug (720 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (10 commits)")[![teeedwards](https://avatars.githubusercontent.com/u/117519304?v=4)](https://github.com/teeedwards "teeedwards (4 commits)")[![DavidBennettUK](https://avatars.githubusercontent.com/u/3920550?v=4)](https://github.com/DavidBennettUK "DavidBennettUK (1 commits)")[![caffme](https://avatars.githubusercontent.com/u/3276090?v=4)](https://github.com/caffme "caffme (1 commits)")[![exussum12](https://avatars.githubusercontent.com/u/1102850?v=4)](https://github.com/exussum12 "exussum12 (1 commits)")[![stevegoddard](https://avatars.githubusercontent.com/u/16681762?v=4)](https://github.com/stevegoddard "stevegoddard (1 commits)")

---

Tags

conversionepsggeogrid-referenceslatitudelongitudemapphpprojectionmapgeolatitudelongitudeUTMprojectioncoordwgs84grid refepsgnadnzmggdaed50osgb3etrs

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/php-coord-php-coord/health.svg)

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

###  Alternatives

[mjaschen/phpgeo

Simple Yet Powerful Geo Library

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

Powerful GeoCoding library: Retrieve bounding box coordinates, distances between geopoints, point in polygon, get longitude and latitude from addresses and more with GeoLocation for PHP

196949.5k5](/packages/anthonymartin-geo-location)[data-values/geo

Geographical value objects, parsers and formatters

20631.0k18](/packages/data-values-geo)[laravie/geotools

Geo-related tools PHP 7+ library

19105.4k1](/packages/laravie-geotools)

PHPackages © 2026

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