Skip to content

phore/phore-datapipes

Repository files navigation

Phore Datapipes

Reading CSV

$csv = new CsvInput("/path/to/file.csv", ";");
$csv->setIngoreLinesStartingWith(["#"]);
$csv->readHeader();

foreach ($csv->getData() as $row) {
    echo $row["header1"] . $row["header2"];
}

Features:

  • Ingores empty Lines
  • Ingores Comments (optional)
  • Strict mode for checking for column count
  • Reads Header (optional)

DateTime Reading

Parse files on the harddisk for timestamps and bring them into correct order

About

Dynamic data piping and analyzing

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors