Class package responsible for performing the BMI calculation

v1.0.3 2022-12-24 00:33 UTC

This package is auto-updated.

Last update: 2024-10-24 04:16:24 UTC


README

Class package responsible for performing the BMI calculation

Instalation

Run:

composer require guilherme/bmi
Usage
<?php

use Guilherme\BMI;

require __DIR__. '/vendor/autoload.php';

$bmi = new BMI;

$bmi->setWeight(74);
$bmi->setHeight(1.75);
$bmi->calcImc();

$bmi->getResult();

var_dump($bmi);