PHPackages                             siddthartha/geo-area-fast - 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. siddthartha/geo-area-fast

ActiveLibrary

siddthartha/geo-area-fast
=========================

Geographical area of given polygon in WGS84

0101PHP

Since Dec 9Pushed 10y ago1 watchersCompare

[ Source](https://github.com/siddthartha/geo-area-calculator-fast)[ Packagist](https://packagist.org/packages/siddthartha/geo-area-fast)[ RSS](/packages/siddthartha-geo-area-fast/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

geo-area-calculator-fast
========================

[](#geo-area-calculator-fast)

Все аналогично geo-area-calculator

Вычисление площади полигона в координатах WGS'84. Порт ??-алгоритма на PHP и JS. Статья источник:

Установка
=========

[](#установка)

В корне модуля:

```
.../geo-area-calculator-fast$ composer install
```

Если необходимы js-тесты:

```
.../geo-area-calculator-fast$ npm install
```

Тесты
=====

[](#тесты)

PHP
---

[](#php)

```
.../geo-area-calculator-fast$ phpunit
```

JavaScript
----------

[](#javascript)

```
.../geo-area-calculator-fast$ npm test
```

Примеры
=======

[](#примеры)

JavaScript
----------

[](#javascript-1)

```
alert( ffGeo.getGeoPolygonAreaFast(
			[
				[ -10.812317, 18 ],
				[ 10.812317, -18 ],
				[ 26.565051,  18 ],
				[ 52.622632, -18 ],
				[ 52.622632,  54 ],
				[ 10.812317,  54 ],
				[ -10.812317, 18 ],
			]
) );
```

PHP
---

[](#php-1)

```
use siddthartha\geo\area\fast\helpers\GeoAreaFastCalculator;

echo GeoAreaFastCalculator::getArea(
        [
                [ -10.812317, 18 ],
                [ 10.812317, -18 ],
                [ 26.565051,  18 ],
                [ 52.622632, -18 ],
                [ 52.622632,  54 ],
                [ 10.812317,  54 ],
                [ -10.812317, 18 ],
        ]
);
// 33953235824742.51 (sq.meters)
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

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/c8d6f2a16c9a24eac98135c74e797d538ea64268d7451b5680b3c8af2665b3ca?d=identicon)[siddthartha](/maintainers/siddthartha)

---

Top Contributors

[![siddthartha](https://avatars.githubusercontent.com/u/627326?v=4)](https://github.com/siddthartha "siddthartha (13 commits)")

### Embed Badge

![Health badge](/badges/siddthartha-geo-area-fast/health.svg)

```
[![Health](https://phpackages.com/badges/siddthartha-geo-area-fast/health.svg)](https://phpackages.com/packages/siddthartha-geo-area-fast)
```

PHPackages © 2026

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