bera / csv
a wrapper for dump data into csv format
v1.0.0
2020-05-19 07:37 UTC
Requires (Dev)
- mikey179/vfsstream: ^1.6
- phpunit/phpunit: 9
This package is auto-updated.
Last update: 2025-03-04 17:12:18 UTC
README
a wrapper for generate csv files
Installation
Use composer to install Bera Csv.
composer require bera/csv
Usage
require __DIR__ . DIRECTORY_SEPARATOR . 'vendor/autoload.php'; use Bera\Csv\Csv; $csv = Csv::Init(__DIR__ , 'test.csv'); $csv->addHeader(array('a','b','c')); $csv->addData( array( array(1,3,4), array(2,4,5), array(6,8,9), ) ); $csv->generate();
License
This software under MIT Licence