Skip to content

j4nr6n/adif

Repository files navigation

Installation

Make sure Composer is installed globally, as explained in the installation chapter of the Composer documentation.

Then run

$ composer require j4nr6n/adif

Read

use j4nr6n/ADIF/Parser;

$data = (new Parser())->parse($adifEncodedData);

Write

use j4nr6n/ADIF/Writer;

$data = [
    // ...
];

$adifEncodedData = (new Writer())->write($data);

// (new Writer('MyApp', '1.0'))->write($data);