h0gar/csv

v0.1 2015-03-21 14:06 UTC

This package is not auto-updated.

Last update: 2024-11-13 09:30:32 UTC


README

#Csv

A lightweight package creat csv files.

##Installation

composer require h0gar/csv *

##Usage

$csv = new \H0gar\Csv\Csv([
	'id',
	'firstname',
	'name'
]);

$content = [
	[
		1,
		'foo',
		'bar'
	],
	// ..
];

foreach($content as $row)
	$csv->add($row);

$result = $csv->render();

##Contributing

Please submit all issues and pull requests to the h0gar/csv repository.

##License

Open-sourced software licensed under the MIT license