Skip to content

Instantly share code, notes, and snippets.

@Burakhan Burakhan/csv.php
Last active Feb 8, 2019

Embed
What would you like to do?
symfony csv semicon reader
$serializer = $this->getContainter('serializer');
$data = $serializer->decode(file_get_contents('./data/tum_kazanimlar.csv'), 'csv', ['csv_delimiter' => ';']);
for($i = 0; $i < 2 ; $i++) {
dump($data[$i]);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.