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

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

vasya/pg-atmospherics
=====================

Atmospherics Composer Library

110.4kPHP

Since Dec 29Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Atmospherics PHP library
========================

[](#atmospherics-php-library)

Constants
---------

[](#constants)

- `altitudeAdjustmentFactorTable` - Altitude adjustment factor at altitude (feet / 1000)
- `barometricPressureTable` - Standard barometric pressure (inches Hg) at altitude (feet / 1000)
- `dropTable` - currentVelocity/muzzleVelocity (feet per second / 1000)
- `speedOfSoundAtSeaLevel` - (feet per second)
- `temperatureTable` - Standard temperature (degrees F) at altitude (feet / 1000)
- `vaporPressureOfWaterTable` - Vapor pressure of water (inches Hg) at temperature (degrees F / 2)
- `weightDensityOfAirAtSeaLevel` - (pounds per cubic foot)

Functions
---------

[](#functions)

- `altitudeAdjustmentFactor(altitude)` - Adjusts from the standard altitude (sea level) to the current altitude.
- `barometricPressureAdjustmentFactor(altitude, barometricPressure)` - Compares the barometric pressure (inches Hg) at a given altitude (feet) to the standard barometric pressure at that altitude.
- `interpolateArray(array, arrayIndex)` - Takes the nearest 2 numbers in a lookup table and returns a number between them.
- `relativeHumidityAdjustmentFactor(temperature, barometricPressure, relativeHumidity)` - Compares the relative humidity (percentage) at a given altitude (feet) to the standard relative humidity at that altitude.
- `speedOfSound(altitude)` - Speed of sound (feet per second) at a given altitude (feet).
- `speedOfSoundFactor(altitude)` - The speed of sound factor compares the speed of sound (feet per second) at a given altitude (feet) to the standard speed of sound at sea level.
- `standardRelativeHumidity(altitude)` - Compares the relative humidity (percentage) at a given altitude (feet) to the standard relative humidity at that altitude.
- `temperatureAdjustmentFactor(altitude, temperature)` - Compares the temperature (degrees F) at a given altitude (feet) to the standard temperature at that altitude.
- `weightDensityOfAir(altitude)` - Barometric pressure (inches Hg) at a given altitude (feet)

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

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 (3 commits)")

### Embed Badge

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

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

PHPackages © 2026

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