PHPackages                             kinoheld/geo-distance - 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. kinoheld/geo-distance

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

kinoheld/geo-distance
=====================

Helpers to calculate geo distance between two points in kilometers.

1.0.1(5y ago)11311MITPHP

Since Jan 31Pushed 5y ago4 watchersCompare

[ Source](https://github.com/kinoheld/geo-distance)[ Packagist](https://packagist.org/packages/kinoheld/geo-distance)[ RSS](/packages/kinoheld-geo-distance/feed)WikiDiscussions master Synced today

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

kinoheld/geo-distance
=====================

[](#kinoheldgeo-distance)

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

[](#installation)

Via composer:

```
composer require kinoheld/geo-distance

```

Provided methods
----------------

[](#provided-methods)

### kinoheld\\GeoDistance\\GeoDistance::calculateDistance()

[](#kinoheldgeodistancegeodistancecalculatedistance)

Calculate distance in kilometers.

### kinoheld\\GeoDistance\\GeoDistance::buildDistanceSQL()

[](#kinoheldgeodistancegeodistancebuilddistancesql)

Get distance query for SQL query.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 66.7% 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 ~545 days

Total

2

Last Release

2113d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/6c27417876366cf0c71ef0e70ef808713ea5f79f8f02a63c14b103d2c56bc083?d=identicon)[lhelwingkh](/maintainers/lhelwingkh)

---

Top Contributors

[![freitbergerKinoheld](https://avatars.githubusercontent.com/u/68953401?v=4)](https://github.com/freitbergerKinoheld "freitbergerKinoheld (2 commits)")[![bkonetzny](https://avatars.githubusercontent.com/u/5451122?v=4)](https://github.com/bkonetzny "bkonetzny (1 commits)")

---

Tags

geo

### Embed Badge

![Health badge](/badges/kinoheld-geo-distance/health.svg)

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

###  Alternatives

[mention/fast-doctrine-paginator

Fast Doctrine paginator for batching, infinite scrolling, Relay

18117.9k](/packages/mention-fast-doctrine-paginator)

PHPackages © 2026

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