PHP code example of edbizarro / bi-extract

1. Go to this page and download the library: Download edbizarro/bi-extract library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

edbizarro / bi-extract example snippets




/**
 *  Example CSV
 *
 *  name,email
 *  John Doe,[email protected]
 */
$result = (new CsvExtractor)->extract('PATH/TO/CSV');

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