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
Requires
- php: ^8.2
- nikic/php-parser: ^4.10
- php-etl/configurator-contracts: 0.8.*
- symfony/config: ^6.0
- symfony/expression-language: ^6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- infection/infection: ^0.26.18
- mikey179/vfsstream: ^1.6
- php-etl/phpunit-extension: *
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.0
- rector/rector: ^0.15
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
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