PHPackages                             sportlog/fit - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. sportlog/fit

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

sportlog/fit
============

A decoder for FIT files

v0.5.4(4mo ago)104.9k↓10.3%4[1 PRs](https://github.com/sportlog/fit/pulls)MITPHPPHP &gt;=8.0CI passing

Since Feb 6Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/sportlog/fit)[ Packagist](https://packagist.org/packages/sportlog/fit)[ RSS](/packages/sportlog-fit/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (21)Used By (0)

FIT
===

[](#fit)

A PHP (&gt;= PHP 8) decoder for FIT files created by Garmin devices. The result is a list of all messages decoded from the file. Each message is an instance of its underlying message class, so you can easily access any (native) fields using intellisense. (FIT SDK 21.188)

Install via Composer
--------------------

[](#install-via-composer)

You can install sportlog/FIT using Composer.

```
$ composer require sportlog/fit
```

Minimum PHP version required is 8.

How to use
----------

[](#how-to-use)

```
