PHPackages                             tomfordweb/health-calculators - 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. tomfordweb/health-calculators

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

tomfordweb/health-calculators
=============================

Health and fitness calculators

1.2(3y ago)0111PHP

Since Aug 12Pushed 3y ago1 watchersCompare

[ Source](https://github.com/tomford-dev/health-calculators)[ Packagist](https://packagist.org/packages/tomfordweb/health-calculators)[ RSS](/packages/tomfordweb-health-calculators/feed)WikiDiscussions main Synced 2d ago

READMEChangelogDependencies (3)Versions (12)Used By (0)

[![code coverage](https://raw.githubusercontent.com/tomford-dev/health-calculators/image-data/coverage.svg)](https://raw.githubusercontent.com/tomford-dev/health-calculators/image-data/coverage.svg)

To use these calculators, run the following command in your project.

```
composer require tomfordweb/health-calculators

```

How To Use
==========

[](#how-to-use)

One Rep Max
-----------

[](#one-rep-max)

Each calculator extends `AbstractOneRepMaxCalculator` which requires the weight and reps as a constructor argument.

We have included a variety of 1RM calculators so you can use your favorite methods.

```
$oneRepMax = new BrzyckiOneRepMaxCalculator(100, 2)->calculate();
```

You can also determine the exertion amounts for a particular one rep max given that you provide an `AbstractOneRepMaxCalculator`

The following code:

```
$values = ExertionPercentages::calculate(
    new BrzyckiOneRepMaxCalculator(100, 2)
);
```

Will output

```
[
  {
    "percentage": 10,
    "value": 10.285714285714285
  },
  {
    "percentage": 20,
    "value": 20.57142857142857
  },
  {
    "percentage": 30,
    "value": 30.857142857142854
  },
  ....
  {
    "percentage": 90,
    "value": 92.57142857142857
  },
  {
    "percentage": 100,
    "value": 102.85714285714285
  }
]
```

Testing
=======

[](#testing)

Run the unit tests:

```
./vendor/bin/phpunit

```

Or to include code coverage:

```
XDEBUG_MODE=coverage ./vendor/bin/phpunit

```

You can view the coverage report at `_coverage/index.html`

Thanks
======

[](#thanks)

- [Jackson Pollock Formulas](https://fitties.com/)
- [Navy Bodyfat Formulas](https://www.mytecbits.com/tools/medical/navy-body-fat-calculator)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

Every ~133 days

Total

3

Last Release

1175d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3827287?v=4)[Tom Ford](/maintainers/tomfordweb)[@tomfordweb](https://github.com/tomfordweb)

---

Top Contributors

[![tomfordweb](https://avatars.githubusercontent.com/u/3827287?v=4)](https://github.com/tomfordweb "tomfordweb (63 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tomfordweb-health-calculators/health.svg)

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

###  Alternatives

[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5266.1M136](/packages/symplify-monorepo-builder)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.9k1](/packages/phpactor-phpactor)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12526.9M158](/packages/phpdocumentor-reflection)[veewee/xml

XML without worries

1837.3M39](/packages/veewee-xml)[ssch/typo3-encore

Use Webpack Encore in TYPO3 Context

107502.3k4](/packages/ssch-typo3-encore)[sylius/promotion

Flexible promotion management for PHP applications.

28515.1k15](/packages/sylius-promotion)

PHPackages © 2026

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