pgodel/nmea

Library to parse NMEA sentences

dev-master 2014-12-12 05:11 UTC

This package is not auto-updated.

Last update: 2024-04-23 01:45:27 UTC


README

Library to parse NMEA sentences. Working in progress (WIP).

Build Status Scrutinizer Code Quality

Installation

Installation is done with Composer.

composer require pgodel/nmea

Usage

$sentence = new NMEA\Sentence(NMEA\DataType::GGA);

// or with Factory

$str = '$GPGGA,123519,4807.038,N,01131.000,E,1,08,0.9,545.4,M,46.9,M,,*47';
$sentence = NMEA\Sentence::factory($str);

Data Types

Supported Data Types

  • GGA
  • RMC
  • More to come