PHP code example of j4nr6n / adif
1. Go to this page and download the library: Download j4nr6n/adif library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
j4nr6n / adif example snippets
use j4nr6n/ADIF/Parser;
$data = (new Parser())->parse($adifEncodedData);
use j4nr6n/ADIF/Writer;
$data = [
// ...
];
$adifEncodedData = (new Writer())->write($data);
// (new Writer('MyApp', '1.0'))->write($data);