codegen/soun2json

my description

dev-master 2021-08-11 10:44 UTC

This package is auto-updated.

Last update: 2024-04-11 16:19:50 UTC


README

A simple library for getting SOUN directory from GNIVC site and convert it to json.

Warning

The datasource oof SOUN directory is in ARJ archive. This library use p7zip and PHP exec command for extracting DBF files from archive. You need installed p7zip package on your environment.

MasOS using HomeBrew:

brew install p7zip

Ubuntu:

sudo apt install p7zip-full

Fedora, CentOS:

sudo yum install p7zip p7zip-plugins

Installation

You can install it through Composer:

$ composer require codegen/soun2json

Usage

use Soun2json\Soun2json;

$json = new Soun2json();
echo $json->getData();