PHPackages                             prbdias/trilateration - 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. prbdias/trilateration

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

prbdias/trilateration
=====================

Library to determine absolute or relative locations of points by measurement of distances.

v0.1.0(10y ago)81.2k4[1 issues](https://github.com/prbdias/trilateration/issues)MITPHP

Since Oct 31Pushed 8y ago4 watchersCompare

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

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

Trilateration
=============

[](#trilateration)

Library to determine absolute or relative locations of points by measurement of distances.

### Example

[](#example)

```
require __DIR__.'/../vendor/autoload.php';

use Prbdias\Trilateration\Trilateration;

$trilateration = new Trilateration();

//Make all the measurements in miles, by default it's in Kms.
$trilateration->setMiles(true);

//Define the 3 points to make the intersection
$trilateration->setPoint1(51.740480, -1.325897, 4);
$trilateration->setPoint2(51.812820, -1.208926, 5);
$trilateration->setPoint3(51.743257, -1.229532, 2);

//Get the intersection point
$point = $trilateration->getIntersectionPoint();

echo $point['lat'].', '.$point['lng'];
```

### Result

[](#result)

```
51.715231560679, -1.2442316303255

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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

3852d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/489247?v=4)[Paulo Dias](/maintainers/prbdias)[@prbdias](https://github.com/prbdias)

---

Top Contributors

[![prbdias](https://avatars.githubusercontent.com/u/489247?v=4)](https://github.com/prbdias "prbdias (6 commits)")

---

Tags

geometrytrilateration

### Embed Badge

![Health badge](/badges/prbdias-trilateration/health.svg)

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

###  Alternatives

[pragmarx/countries

PHP Countries and Currencies

1.9k3.3M18](/packages/pragmarx-countries)[geokit/geokit

Geo-Toolkit for PHP

251924.7k6](/packages/geokit-geokit)[brick/geo

GIS geometry library

245862.1k15](/packages/brick-geo)[geo-io/interface

Geo I/O base interfaces.

626.1M7](/packages/geo-io-interface)[pragmarx/countries-laravel

Countries for Laravel

1471.1M2](/packages/pragmarx-countries-laravel)[spinen/laravel-geometry

Wrapper over the geoPHP Class to make it integrate with Laravel better.

42470.7k1](/packages/spinen-laravel-geometry)

PHPackages © 2026

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