jdecool/healkit-parser

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP SDK to parse HealthKit data

dev-master 2019-04-19 15:31 UTC

This package is auto-updated.

Last update: 2020-01-19 17:21:58 UTC


README

This PHP library aim to parse Healkit data exported by Apple Health app with data generated by the Apple Watch.

Installation

Install the library with Composer:

$ composer require jdecool/healkit-parser

Usage

Sample code:

$parser = JDecool\HKParser\HealthKitParser::fromFile('/path/to/health/data.xml');

/** @var JDecool\HKParser\HKModel $line */
foreach ($parser->lines() as $line) {
    // some stuff...
}