PHPackages                             hypatia/angle - 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. hypatia/angle

ActiveLibrary

hypatia/angle
=============

Angles implementation for Hypatia project.

00PHP

Since Mar 22Pushed 5y agoCompare

[ Source](https://github.com/project-hypatia/angle)[ Packagist](https://packagist.org/packages/hypatia/angle)[ RSS](/packages/hypatia-angle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Angle
=====

[](#angle)

TODO

```
var_dump(Dms\to_dms(48.825214));
var_dump(Dms\to_dms(-25.7));

var_dump(Dms\to_string(Dms\to_dms(48.825214)));
var_dump(Dms\to_latitude(Dms\to_string(Dms\to_dms(-25.7))));

$dms = Dms\to_dms(42.67);

echo Dms\to_longitude($dms);
echo PHP_EOL;
var_dump($dms);

$d1 = new Deg(30);
$d2 = new Deg(60);
$d3 = new Deg(123.45);

echo $d1->get();
echo PHP_EOL;
echo $d2->get();
echo PHP_EOL;
echo $d3->get();
echo PHP_EOL;
echo $d3;
echo PHP_EOL;

/*
var_dump(Dms\to_dms(90));
var_dump(Dms\to_dms(180));
var_dump(Dms\to_dms(59.9999999));
var_dump(Dms\to_dms(59.9999999999999999));
var_dump(Dms\to_dms(60));
*/
```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity30

Early-stage or recently created project

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

---

Top Contributors

[![cogito-ergo-dev](https://avatars.githubusercontent.com/u/71123442?v=4)](https://github.com/cogito-ergo-dev "cogito-ergo-dev (20 commits)")

### Embed Badge

![Health badge](/badges/hypatia-angle/health.svg)

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

PHPackages © 2026

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