PHP Classes

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

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 64 All time: 10,406 This week: 45Up
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: 4369355 in Brazil Brazil
Week rank: 227 Up20 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 (4)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:64
This week:0
All time:10,406
This week:45Up
User Comments (1)
Thats a great class !
2 years ago (José Filipe Lopes Santos)
70%StarStarStarStar