An open API service indexing awesome lists of open source software.

https://github.com/phore/phore-datapipes

Dynamic data piping and analyzing
https://github.com/phore/phore-datapipes

Last synced: 5 months ago
JSON representation

Dynamic data piping and analyzing

Awesome Lists containing this project

README

          

# Phore Datapipes

## Reading CSV

```php
$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

```php

```