A lightweight package creat csv files., (*1)
composer require h0gar/csv *
$csv = new \H0gar\Csv\Csv([ 'id', 'firstname', 'name' ]); $content = [ [ 1, 'foo', 'bar' ], // .. ]; foreach($content as $row) $csv->add($row); $result = $csv->render();
Please submit all issues and pull requests to the h0gar/csv repository., (*4)
Open-sourced software licensed under the MIT license, (*5)