Library to parse NMEA sentences. Working in progress (WIP).
Installation is done with Composer.
composer require pgodel/nmea
$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);
- GGA
- RMC
- More to come