phpCSV
Receives data from a string or CSV file and converts it to an array.
-> Methods:
setString($string): Gets CSV data from a string.
setFile($path):
Path to a CSV file.
setDelimiter($delimiter): Change the delimiter. Comma is set by default.
groupBy($column): Column to group by.
The file data.csv has sample data that can be used for testing.