Class used for health analysis results. It returns BMI, BMR, TDEE, Pollock 7 sinfolds stats (body fat, body density, lean mass, fat mass)

Overview

php-health

Class used for health analysis results. It returns BMI, BMR, TDEE, Polock 7 sinfolds stats (body fat, body density, lean mass, fat mass)

This class returns in object format:

  • BMI
  • Harris Benedict BMR TDEE
  • Katch McArdle BMR and TDEE (with Jackson & Pollock 7 skinfold protocol results)
  • Jackson and Pollock 7 Skinsfold Protocol (sum of skinfolds, body density, body fat,
  • fat mass and lean mass)

It is not necessary to fill in all the fields because the class will only return data pertaining to the measurements provided.

<?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);

?>

Results:

stdClass Object
(
    [measurements] => stdClass Object
        (
            [height] => 168
            [weight] => 80
            [age] => 46
            [gender] => male
            [bmi] => stdClass Object
                (
                    [value] => 28.3
                    [category] => Overheight
                )

            [skinfolds] => stdClass Object
                (
                    [triceps] => 6
                    [chest] => 9
                    [subscapular] => 13
                    [midaxillary] => 9
                    [suprailiac] => 8
                    [abdominal] => 15
                    [thigh] => 11
                )

            [prot_7_skinfolds] => stdClass Object
                (
                    [skinfoldsum] => 71
                    [body_density] => 1.0706283
                    [bf] => 12.35
                    [fatmass] => 9.876
                    [leanmass] => 70.124
                )

            [harris_benedict] => stdClass Object
                (
                    [bmr] => 1705
                    [tdee] => 2046
                )

            [katch_mcardle] => stdClass Object
                (
                    [bmr] => 1885
                    [tdee] => 2262
                )
            
            [mifflin_st_jeor] => stdClass Object
                (
                    [bmr] => 1625
                    [tdee] => 1950
                )

        )

)
You might also like...
Open Source Voucher Management System is a web application for manage voucher. used PHP with Laravel Framework and use MySQL for Database.
Open Source Voucher Management System is a web application for manage voucher. used PHP with Laravel Framework and use MySQL for Database.

Voucher Management System is a web application for manage voucher. You can create and manage your voucher. Voucher Management System is used PHP with Laravel Framework and use MySQL for Database.

A learning management system (LMS) is a software application or web-based technology used to plan, implement and assess a specific learning process.

vidyaprabodhan-gov-php-project A learning management system (LMS) is a software application or web-based technology used to plan, implement and assess

This prj we have two NODEMCU ( ESP8266) and  two RFID_RC522 and some rfid tags we used ARDUINO IDE on NODEMCU and running server with XAMPP
This prj we have two NODEMCU ( ESP8266) and two RFID_RC522 and some rfid tags we used ARDUINO IDE on NODEMCU and running server with XAMPP

This prj we have two NODEMCU ( ESP8266) and two RFID_RC522 and some rfid tags we used ARDUINO IDE on NODEMCU and running server with XAMPP

A Laravel package that can be used for fetching favicons from websites
A Laravel package that can be used for fetching favicons from websites

A Laravel package that can be used for fetching favicons from websites.

DomainMOD is an open source application written in PHP & MySQL used to manage your domains and other internet assets in a central location
DomainMOD is an open source application written in PHP & MySQL used to manage your domains and other internet assets in a central location

DomainMOD is an open source application written in PHP & MySQL used to manage your domains and other internet assets in a central location. DomainMOD also includes a Data Warehouse framework that allows you to import your web server data so that you can view, export, and report on your live data.

A wiki to ease developers' work by providing a user authentication librariesthat can be used as middleware within a web application to authenticate

A wiki to ease developers' work by providing a user authentication librariesthat can be used as middleware within a web application to authenticate (their application user) requests.

Sri Lanka Grade Exam Results Bot 📚 can collect Grade 5 O/L A/L Exam Results 📚 in Second Powerd By Sri lanka Department Of Examination 🚀

Sri-Lanka-Exam-Results-Telegram-Bot How to use the bot /start : Start Sri Lanka Grade 5 O/L A/L Exam Results Bot. /help : More information about Sri L

Static Analysis Results Baseliner

Static Analysis Results Baseliner (SARB) Why SARB Requirements Installing Using SARB Examples Further reading Why SARB? If you've tried to introduce a

Image Cache is a very simple PHP class that accepts an image source and will compress and cache the file, move it to a new directory, and returns the new source for the image.

NO LONGER MAINTAINED!!! Image Cache v. 1.0.0 Image Cache is a very simple PHP class that accepts an image source and will compress and cache the file,

This Validate Class is for those who are looking for a validator that returns a code for every each error (Laravel/Api)
This Validate Class is for those who are looking for a validator that returns a code for every each error (Laravel/Api)

Validator-Class This Validate Class is for those who are looking for a validator that returns a code for every each error (Laravel/Api) Requirements A

A slim, lean forum package designed for quick and easy integration in Laravel projects
A slim, lean forum package designed for quick and easy integration in Laravel projects

Complete documentation is available on teamteatime.net. Installation Requires Laravel 6+ and PHP 7.4+. Step 1: Install the package Install the package

A slim, lean forum package designed for quick and easy integration in Laravel projects
A slim, lean forum package designed for quick and easy integration in Laravel projects

Complete documentation is available on teamteatime.net. Installation Requires Laravel 6+ and PHP 7.4+. Step 1: Install the package Install the package

A few Fat-Free specific extensions for Tracy Debugger to help debug your code quickly.

Fat-Free Tracy Extensions This is a set of extensions to make working with Fat-Free a little richer. F3 - Analyze all hive variables. Database - Analy

Returns a list of Craft/Vue/React route rules and element URLs for ServiceWorkers from Craft entries
Returns a list of Craft/Vue/React route rules and element URLs for ServiceWorkers from Craft entries

Route Map plugin for Craft CMS 3.x Returns a list of Craft/Vue/React route rules and element URLs for ServiceWorkers from Craft entries Related: Route

This is a simple laravel API that returns provinces, districts, sectors, villages and cells found in Rwanda.
This is a simple laravel API that returns provinces, districts, sectors, villages and cells found in Rwanda.

About - Rwanda This is a simple laravel API that returns provinces, districts, sectors, villages and cells found in Rwanda. Rwanda is organized in fou

The Simple Result Type simply returns the processing result as an object.

The Simple Result Type The Simple Result Type simply returns the processing result as an object. Enjoy! Example This is a basic usage example. use Tak

Laravel Stats Tracker
Laravel Stats Tracker

Laravel Stats Tracker Tracker gathers a lot of information from your requests to identify and store: Sessions Page Views (hits on routes) Users (logge

DiscordLookup | Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more...
DiscordLookup | Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more...

DiscordLookup Get more out of Discord with Discord Lookup! Snowflake Decoder, Guild List with Stats, Invite Info and more... Website Getting Help Tool

Owner
Vinicius Marques de Souza
IT Solutions Architect & Developer
Vinicius Marques de Souza
WebFit was initially thought for the subject of Systems Analysis and Design, and consists of a site that is used by customers of a fictitious gym

WebFit - Um site para academia Sobre o site O WebFit foi pensado inicialmente para a matéria de Análise e Projeto de Sistemas, e consiste em um site q

Gianluca Notari Magnabosco 2 Sep 12, 2022
Linfo PHP Server Health Status

Linfo - Server stats UI/library Linfo is a: Light themable Web UI and REST API displaying lots of system stats Ncurses CLI view of WebUI Extensible, e

Joe Gillotti 340 Dec 30, 2022
OpenEMR is a Free and Open Source electronic health records and medical practice management application

OpenEMR is a Free and Open Source electronic health records and medical practice management application. It features fully integrated electronic health records, practice management, scheduling, electronic billing, internationalization, free support, a vibrant community, and a whole lot more. It runs on Windows, Linux, Mac OS X, and many other platforms.

OpenEMR 2.1k Jan 9, 2023
Health Management App for WTM Buea community to work on during the period of Hacktoberfest

Laravel web application developed by WTM Buea community members Health Care Management App An app that enables users and or patients to get consultati

Women Techmakers Buea 2 Oct 28, 2021
A website addressing mental health.

This project was developed for '2021 Calgary Youth Hackathon' HealingHub A website addressing mental health. Features Chat: We allow all participants

null 1 Sep 17, 2022
Build a health check report that can be verified with Oh Dear

Create a health check report to be verified by Oh Dear Using this package you can build up the JSON that Oh Dear expects for the health check. Install

Oh Dear 5 Oct 6, 2022
Web application for the health record of the Hemal's Thalasseamia Patients. Technologies PHP, JavaScript, HTML, W3.CSS and MySQL

Web application for the health record of the Hemal's Thalasseamia Patients. Technologies PHP, JavaScript, HTML, W3.CSS and MySQL

Thilrash Gowzul Ameen 1 Dec 15, 2021
Feature plugin to count CSS and JS assets loaded by the theme on front-end and display recommandations in Site Health

=== Site Health - Audit Enqueued Assets === Contributors: audrasjb, whodunitagency Tags: site health, performance audit, performance test, assets, scr

Jb Audras 3 Nov 5, 2021
A Zabbix 5.4 module to group items under Monitoring -> Latest data per Tag as it used to be with Application grouping in previous versions of Zabbix

zabbix-module-latest-data Written according to Zabbix official documentation https://www.zabbix.com/documentation/current/manual/modules A Zabbix 5.4

BGmot 18 Dec 6, 2022
Simple and Lightweight PHP Class & Methods Annotations Reader

README Simple and Lightweight PHP Class & Methods Annotations Reader Forked from eriknyk/Annotations 项目地址 github https://github.com/phppkg/annotations

PHPPkg 3 Nov 25, 2021