PHP code example of tomfordweb / health-calculators

1. Go to this page and download the library: Download tomfordweb/health-calculators library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tomfordweb / health-calculators example snippets



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


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