j4nr6n/adif

Read and Write ADIF formatted strings/files

Maintainers

Package info

github.com/j4nr6n/adif

pkg:composer/j4nr6n/adif

Statistics

Installs: 248

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v3.0.0 2024-01-19 07:58 UTC

This package is auto-updated.

Last update: 2026-03-29 01:02:45 UTC


README

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);