PHPackages                             alex-kalanis/kw\_coordinates - 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. alex-kalanis/kw\_coordinates

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

alex-kalanis/kw\_coordinates
============================

Transcode between coordinates - base libraries

v3.0.0(2y ago)1414BSD-3-ClausePHPPHP &gt;=7.4.0

Since Dec 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/kw_coordinates)[ Packagist](https://packagist.org/packages/alex-kalanis/kw_coordinates)[ RSS](/packages/alex-kalanis-kw-coordinates/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

kw\_coordinates
===============

[](#kw_coordinates)

[![Build Status](https://github.com/alex-kalanis/kw_coordinates/actions/workflows/code_checks.yml/badge.svg)](https://github.com/alex-kalanis/kw_coordinates/actions/workflows/code_checks.yml/badge.svg)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/98b1b75207229329794b4914ab394aa2cb69e52599588da34598b95311c13e95/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f636f6f7264696e617465732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-kalanis/kw_coordinates/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/2131de2d5343b2e5838b8a13c014d1549d9e47e354beec461af59955218ccdea/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f636f6f7264696e617465732f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_coordinates)[![Minimum PHP Version](https://camo.githubusercontent.com/0e9ac047546796cfdbe1423d1f4d91c8f37d2fbb11614a7900bb7686aaa5401f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e342d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/eaf3a69136891933bb3eebd886a22613064cace260416c2911090ceb1b59f908/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f6b775f636f6f7264696e617465732e7376673f7631)](https://packagist.org/packages/alex-kalanis/kw_coordinates)[![License](https://camo.githubusercontent.com/b65e0b5618551d6d73e9d5f165b5b6e97bdcd45cc13e60ee36b877e30e57ccc3/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f6b775f636f6f7264696e617465732f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/kw_coordinates)[![Code Coverage](https://camo.githubusercontent.com/1d6f6506ecdd96312e6db23bfc61bf75ba91a52ec314a7be8ab9922dc83536da/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f6b775f636f6f7264696e617465732f6261646765732f636f7665726167652e706e673f623d6d617374657226763d31)](https://scrutinizer-ci.com/g/alex-kalanis/kw_coordinates/?branch=master)

Work with coordinates, have some basic stuff to expand to local or remote services.

PHP Installation
----------------

[](#php-installation)

```
composer.phar require alex-kalanis/kw_coordinates
```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

PHP Usage
---------

[](#php-usage)

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Add some external packages with connection to the local or remote services.

3.) Connect the correct libraries to your code.

4.) Extend your libraries by interfaces inside the package.

5.) Just call setting and render

Caveats
-------

[](#caveats)

You might not be able to extend these interfaces directly to use other coordinate systems due limitations of php math functions (like `pow()` - tested, got problematic results) and you might need the external service that calculates the results in another language and here comes only adapting the code into your current one.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

4

Last Release

771d ago

Major Versions

v1.0.1 → v2.0.02022-12-17

v2.0.0 → v3.0.02024-03-29

PHP version history (2 changes)v1.0.0PHP &gt;=7.3.0

v3.0.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/499b0a541b787cdb31412f578c7b94c9790bcbee7de12c65b6101c6ce45ef6f0?d=identicon)[alex-kalanis](/maintainers/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (10 commits)")

---

Tags

coordinateswgs84coordswgsjtsksjtsk

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-kw-coordinates/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-kw-coordinates/health.svg)](https://phpackages.com/packages/alex-kalanis-kw-coordinates)
```

###  Alternatives

[proj4php/proj4php

A PHP-Class for geographic coordinates transformation using proj4 definitions, thanks to a translation from Proj4JS

1321.7M16](/packages/proj4php-proj4php)[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.

110914.5k12](/packages/php-coord-php-coord)[data-values/geo

Geographical value objects, parsers and formatters

20631.0k18](/packages/data-values-geo)[jeroendesloovere/distance

Get distance between two locations using PHP.

3462.8k](/packages/jeroendesloovere-distance)[kolyunya/yii2-map-input-widget

Yii2 map input widget. Allows you to select geographcal coordinates via a human-friendly inteface.

2836.3k4](/packages/kolyunya-yii2-map-input-widget)[lootils/geo

A simple library for dealing with Earth geo coordinate manipulations.

1624.7k1](/packages/lootils-geo)

PHPackages © 2026

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