PHP Classes

PHP Health Check: Calculate factors to check a person's health

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 62 All time: 10,414 This week: 555Up
Version License PHP version Categories
php-health 1.0.0GNU General Publi...5PHP 5, Health
Description 

Author

This class can calculate factors to check a person's health.

It can use values of measurements of several types of people's health exams to calculate factors that people can use to evaluate their health.

Currently, it can calculate:

- The body-mass index (BMI)

- The base metabolic rate (BMR Harris-Benedict)

- The Jackson and Pollock 7 skinfolds protocol

- The Katch McArdle base metabolic rate (BMR based on Jackson and Pollock 7 skinfolds protocol

- Body fat

- Body density

- Lean mass

The class returns the calculated values in class variables.

Innovation Award
PHP Programming Innovation award winner
September 2022
Winner
People need to keep track of their health when they want a good quality of life.

There are many aspects of a person's health to consider. Usually, it all starts by having an appointment with a doctor.

That doctor will probably ask you to do a set of health exams, so he can check what aspects of your health you need to improve.

After you do those exams, it is helpful to keep track of the result values, so you can repeat those exams later and compare if you evolved in those health aspects or not.

To evaluate your health, you need to perform calculations with the values of the results of several exams.

This package provides a way to calculate many types of health factors so you can better evaluate your health's evolution.

Manuel Lemos
Picture of Vinicius Marques de Souza
Name: Vinicius Marques de ... <contact>
Classes: 2 packages by
Country: Brazil Brazil
Age: 48
All time rank: 4370354 in Brazil Brazil
Week rank: 416 Up36 in Brazil Brazil Up
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

Example

<?php

require_once("health.class.php");

$h=new Health();

$h->age=46;
$h->gender="male";
$h->height=168;
$h->weight=80;

$h->activity=1.2;

$h->triceps=6;
$h->chest=9;
$h->subscapular=13;
$h->midaxillary=9;
$h->suprailiac=8;
$h->abdominal=15;
$h->thigh=11;

$data=$h->getdata();
print_r($data);


?>


  Files folder image Files  
File Role Description
Plain text file health.class.php Class Class source
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Example Example script
Accessible without login Plain text file sample.php Example Example script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:62
This week:0
All time:10,414
This week:555Up
User Comments (1)
Thats a great class !
1 year ago (José Filipe Lopes Santos)
70%StarStarStarStar