guszandy/cabrillo_decoder

There is no license information available for the latest version (v0.1.0) of this package.

Decode Cabrillo file to array PHP.

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/guszandy/cabrillo_decoder

v0.1.0 2022-11-16 10:50 UTC

This package is auto-updated.

Last update: 2025-09-16 17:32:00 UTC


README

Decode File Cabrillo to array PHP. Cabrillo decoder for python in here and for javascript in here here.

Installation

To install this package, you have to write like this:

composer require guszandy/cabrillo-decoder

Add an example file

Make sure that you have created a PHP-extension file and example cabrillo file (in this example folder) for this example and write like this:

<?php
require_once 'vendor/autoload.php';

$QSO_data_head = [
    "Freq",
    "Mode",
    "Date",
    "Time",
    "MyCall",
    "RSTSent",
    "SerialSent",
    "Call",
    "RSTReceived",
    "SerialReceived"
];

$file = fopen("example-cab.cab", "r");

$cd = new \Guszandy\CabrilloDecoder\CabrilloDecoder($file, $QSO_data_head);

$decoded_data = $cd->decode();

print("<pre>".print_r($decoded_data,true)."</pre>");