guszandy/cabrillo_decoder
最新稳定版本:v0.1.0
Composer 安装命令:
composer require guszandy/cabrillo_decoder
包简介
Decode Cabrillo file to array PHP.
README 文档
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>");
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2022-11-15