edbizarro / bi-extract
Extract data from sources
Installs: 4 957
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 1
Open Issues: 1
Requires
- php: ^7.1.3
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.11
- phpunit/phpunit: ^7.0
Suggests
- edbizarro/bi-connect: To extract from 3rd party sources.
This package is auto-updated.
Last update: 2024-12-05 06:20:06 UTC
README
BI - Extract
Extract data from sources
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