codegen / soun2json
my description
dev-master
2021-08-11 10:44 UTC
Requires
- php: >=7.3
- hisamu/php-xbase: ^2.0
This package is auto-updated.
Last update: 2025-04-11 18:21:54 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();