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 3w 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

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity54

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

1130d 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

[phpdocumentor/reflection-docblock

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

9.4k741.0M1.5k](/packages/phpdocumentor-reflection-docblock)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5255.7M110](/packages/symplify-monorepo-builder)[phpdocumentor/reflection

Reflection library to do Static Analysis for PHP Projects

12524.8M137](/packages/phpdocumentor-reflection)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k16.6k1](/packages/phpactor-phpactor)[sylius/promotion

Flexible promotion management for PHP applications.

28495.4k13](/packages/sylius-promotion)[sylius/money-bundle

Currencies and money formatting engine bundle for Symfony.

18670.7k22](/packages/sylius-money-bundle)

PHPackages © 2026

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