PHPackages                             maris/geo-haversine-calculator - 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. maris/geo-haversine-calculator

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

maris/geo-haversine-calculator
==============================

Калькулятор Хаверсайна.

1.0.0(2y ago)03MITPHPPHP &gt;=8.1

Since Aug 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/n-marisov/geo-haversine-calculator)[ Packagist](https://packagist.org/packages/maris/geo-haversine-calculator)[ RSS](/packages/maris-geo-haversine-calculator/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (2)Used By (0)

### Калькулятор Хаверсайна для расчета расстояний.

[](#калькулятор-хаверсайна-для-расчета-расстояний)

```
    $ellipsoid = new class () implements \Maris\Interfaces\Geo\Model\EllipsoidInterface
    {
        //// Реализовать эллипсоид.

       public function getArithmeticMeanRadius() : float
       {
         return 6371008.8;
       }
    };

    $calculator = new \Maris\Geo\Haversine\HaversineCalculator( $ellipsoid );

    $point1 = new class implements \Maris\Interfaces\Geo\Aggregate\LocationAggregateInterface{};
    $point2 = new class implements \Maris\Interfaces\Geo\Aggregate\LocationAggregateInterface{};

    $distance = $calculator->calculateDistance( $point1, $point2 );

    var_dump($distance); // float растояние между точками.
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

1050d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e0003ac2f9b4234d803721904ae0d8906833e8834c3ec47d26172dd0c4eafd2?d=identicon)[maris](/maintainers/maris)

---

Top Contributors

[![n-marisov](https://avatars.githubusercontent.com/u/116942294?v=4)](https://github.com/n-marisov "n-marisov (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/maris-geo-haversine-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/maris-geo-haversine-calculator/health.svg)](https://phpackages.com/packages/maris-geo-haversine-calculator)
```

###  Alternatives

[learninglocker/learninglocker

The open source learning record store.

5813.0k](/packages/learninglocker-learninglocker)[clearstream/xml-to-array

Incredibly simple XML to array PHP converter

6738.4k](/packages/clearstream-xml-to-array)[chan-sccp/pami

Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented (Fork)

2954.7k](/packages/chan-sccp-pami)[shkoliar/magento-grid-colors

Magento 2 module for colorizing admin grids. Supports saving of states with the help of grid's bookmarks.

6011.2k](/packages/shkoliar-magento-grid-colors)

PHPackages © 2026

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