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

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

vasya/pg-ballistics
===================

Ballistics PHP Library (for calculating range cards)

010.4kPHP

Since Apr 29Pushed 4y ago1 watchersCompare

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

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

Ballistics Drag Functions PHP Library
=====================================

[](#ballistics-drag-functions-php-library)

Install
-------

[](#install)

composer require vasya/pg-ballistics

Usage
-----

[](#usage)

```
use ballistics\Ballistics;

$ballistics = new Ballistics();
$ballistics->getRangeData($weather, $target, $firearm, $round)
```

Functions
---------

[](#functions)

`getRangeData($weather, $target, $firearm, $round)` - Returns an array of 'Range' objects each of which represents a row on the ballistics table

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity26

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

### Embed Badge

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

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

PHPackages © 2026

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