This package is abandoned and no longer maintained. No replacement package was suggested.

An abstraction layer to extract data from various sources

dev-master 2015-06-21 19:48 UTC

This package is auto-updated.

Last update: 2019-11-15 14:46:48 UTC


Build Status Latest Stable Version Total Downloads Scrutinizer Quality Score Code Coverage


Via Composer

$ composer require arrounded/extractors


The idea is that you extend the existing extractors, which provide the minimal functionality, and tweak it for your use case.

For example (using the CsvExtractor)

class MyExtractor extends CsvExtractor {

   public function getData(array $data = [])
        // $data contains the entire content of a row in the CSV

        // You can return whatever you need from the row.
        return $data;

// Using the extractor

$extractor = new MyExtractor();
$extractor->run(function ($data) {
    // $data contains whatever is the output of `MyExtractor::getData()`.

    // Persist in database


$ composer test


The MIT License (MIT). Please see License File for more information.