ek / csv
Export an array to CSV file download
v0.0.1
2015-10-06 20:42 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-01-04 19:12:48 UTC
README
#Ek CSV
##How to use it?
require 'vendor/autoload.php';
$csv = new ek\CSV();
$header = ['Full Name', 'Address', 'City', 'State', 'Zip'];
$rows = ['John Doe', '1234 Street', 'St.Louis', 'MO', '63139'];
$exportFileName = 'export.csv'
$csv->render($headers, $rows, $exportfileName);