jdecool / healkit-parser
PHP SDK to parse HealthKit data
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/jdecool/healkit-parser
Requires
- php: ^7.1
- ext-simplexml: *
- psr/log: ^1.1
Requires (Dev)
- phpunit/phpunit: ^7.5
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... }