php-etl/json-plugin

Plugin for JSON Extractor and Loader

Installs: 442

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 1

Open Issues: 0

Type:gyroscops-plugin

v0.3.2 2023-04-21 07:52 UTC

This package is auto-updated.

Last update: 2024-11-10 15:24:49 UTC


README

This package aims at integrating the json extractor and loader into the

Quality (PHPStan lvl 4) PHPUnit Mutations PHPStan level 5 PHPStan level 6 PHPStan level 7 PHPStan level 8 PHP

Pipeline stack.

Principles

The tools in this library will produce executable PHP sources, using an intermediate Abstract Syntax Tree from nikic/php-parser. This intermediate format helps you combine the code produced by this library with other packages from Middleware.

Installation

composer require php-etl/json-plugin

Usage

Example of a config file. Reads input.jsonld, writes output.jsonld, logs error in system's stderr.

json:
  extractor:
    file_path: 'input.jsonld'
#  loader:
#    file_path: 'output.jsonld'
  logger:
    type: stderr