edbizarro/bi-extract

Extract data from sources

v0.1.5 2018-07-11 02:37 UTC

README

BI - Extract

Extract data from sources

Build Status StyleCI LIcense

Default Extractors

Csv

The Csv extractor uses generator class to avoid consume excessive memory.

<?php

/**
 *  Example CSV
 *
 *  name,email
 *  John Doe,johndoe@example.org
 */
$result = (new CsvExtractor)->extract('PATH/TO/CSV');

foreach ($result as $row) {
    // var_dump($row);
}

Installation

You can install the package via composer:

composer require edbizarro/bi-extract

forthebadge