PHPackages                             vasya/pg-conversions - 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. vasya/pg-conversions

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

vasya/pg-conversions
====================

Conversions PHP Library

010.4kPHP

Since Dec 29Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Conversions PHP Library
=======================

[](#conversions-php-library)

Constants
---------

[](#constants)

- `minuteOfAngle` - Inches at 100 yards
- `mil` - Inches at 100 yards
- `pi`

Functions
---------

[](#functions)

- `degreesToRadians(degrees)` - Converts from a degree to a radian angle.
- `inchesToIPHY(inches, currentRange)` - Converts from inches to inches per 100 yards
- `inchesToMil(inches, currentRange)` - Converts from inches to milliradians.
- `inchesToMinutesOfAngle(inches, currentRange)` - Converts from inches to minutes of angle (MoA).
- `isEven(input)` - Returns true if the inputed integer is an even number.
- `metersToYards(meters)`
- `milesPerHourToInchesPerSecond(inputVelocityMPH)` - Converts from a miles per hour (MPH) to inches per second.
- `radiansToDegrees(radians)` - Converts from a radian ro a degree angle.
- `sec(angle)` - Secant
- `sizeToDistance(actualTargetSizeInches, reticleViewedTargetSizeMils)` -
- `yardsToMeters(yards)`

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity27

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

---

Top Contributors

[![seniorfulldev](https://avatars.githubusercontent.com/u/87111659?v=4)](https://github.com/seniorfulldev "seniorfulldev (9 commits)")

### Embed Badge

![Health badge](/badges/vasya-pg-conversions/health.svg)

```
[![Health](https://phpackages.com/badges/vasya-pg-conversions/health.svg)](https://phpackages.com/packages/vasya-pg-conversions)
```

PHPackages © 2026

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