ivanomatteo / csv-read-write
easy way to read and write csv files
Fund package maintenance!
ivanomatteo
Requires
- php: ^8.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- pestphp/pest: ^1.20
- spatie/ray: ^1.28
This package is auto-updated.
Last update: 2024-12-09 12:13:01 UTC
README
This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.
Installation
You can install the package via composer:
composer require ivanomatteo/csv-read-write
Usage
use IvanoMatteo\CsvReadWrite\CsvWriter; (new CsvWriter(__DIR__."/tmp.csv")) ->format(';','"',"\\") ->write( [ ['aaa','bbb', 'ccc'], ['foo','bar', 'baz'], ], ['column1', 'column2', 'column3'] // optional first row );
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.