PHPackages                             ivanciric/laracoord - 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. ivanciric/laracoord

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

ivanciric/laracoord
===================

Laravel 5 package for geolocation distance calculations

0200PHP

Since Dec 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ivanciric/laracoord)[ Packagist](https://packagist.org/packages/ivanciric/laracoord)[ RSS](/packages/ivanciric-laracoord/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laracoord
=========

[](#laracoord)

Calculate distance between two points on a globe.

getDistance() method:

No dependencies, just pass sets of coordinates to calculate distance between places.

Installation:

Add

```
"ivanciric/laracoord": "dev-master"

```

to composer "require" array.

Run "composer update".

You can now use the class:

```
$g = Laracoord::getDistance(
            [
                'lon' => 25.3892,
                'lat' => 35.3172
            ],
            [
                'lon' => 28.3892,
                'lat' => 37.3172
            ],
            'km'
        );

dd($g);

```

\[[![Screenshot](laracoord-scr.jpg)](laracoord-scr.jpg)\]

Related links:

[http://www.codecodex.com/wiki/Calculate\_distance\_between\_two\_points\_on\_a\_globe#PHP](http://www.codecodex.com/wiki/Calculate_distance_between_two_points_on_a_globe#PHP)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/0e19d1001d8d7675709d76cc4a0228682b74d4a635d12c0e9e4e9d265d6530aa?d=identicon)[ivanciric](/maintainers/ivanciric)

---

Top Contributors

[![ivanciric](https://avatars.githubusercontent.com/u/3796581?v=4)](https://github.com/ivanciric "ivanciric (5 commits)")

### Embed Badge

![Health badge](/badges/ivanciric-laracoord/health.svg)

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

PHPackages © 2026

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