flow php

UNIFIED DATA PROCESSING FRAMEWORK

composer require flow-php/etl ^0.10.0

Changelog

elephant
extract

Extracts

Read from various data sources.

arrow
transform

Transforms

Shape and optimize for your needs.

arrow
load

Loads

Store and secure in one of many available data sinks.

DSL Functions


DSL stands for Domain Specific Language. In the case of Flow, the DSL is used to define simple functions that can be used to transform data. Most of those functions are initializing a new instance of a class under the hood since Flow is fully object-oriented. Please look at the examples below to get a better understanding of how to use the DSL functions.

EXTRACTOR


/**
 * @param Path|string $path
 */
from_text(Path|string $path) : TextExtractor

LOADER


/**
 * @param Path|string $path
 * @param string $new_line_separator - default PHP_EOL - @deprecated use withNewLineSeparator method instead
 *
 * @return Loader
 */
to_text(Path|string $path, string $new_line_separator) : Loader

Contributors

Join us on GitHub external resource
scroll back to top