Download the PHP package ecommit/csv-table-generator without Composer
On this page you can find all versions of the php package ecommit/csv-table-generator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package csv-table-generator
CSV Table Generator
Create a CSV file with PHP array.
Installation
To install csv-table-generator with Composer just run :
Usage
/home/test/myfilename.csv is generated :
Constructor arguments :
- String $pathDir : Path folder (when CSV file is generated) Required
- String $filename : Filename (without path folder and extension) Required
- Array $options : Options. See below
Availabled options :
- header (array) : Header array. If empty, no header. Default: array()
- max_lines (null | int) : Max lines per CSV file. If lines > max_lines, many files are generated. Default: null
- delimiter (string) : CSV delimiter. Default: ,
- enclosure (string) : CSV enclosure. Default: "
- eol (string - Csv::EOL constants) : EOF(End Of Line) character. See **Csv::EOL constants. Default: Csv::EOL_LF. If Csv::EOL_CRLF is used with PHP ≤ 8.1, unix2dos** program is required
- escape : CSV escape. Default: \
- unix2dos_path (string) : Unix2dos path. Only used if eol=Csv::EOL_CRLF with PHP ≤ 8.1. Default: /usr/bin/unix2dos
- add_utf8_bom (bool) : Add or not UTF8 bom. Default: false
License
This librairy is under the MIT license. See the complete license in LICENSE file.
All versions of csv-table-generator with dependencies
PHP Build Version
Package Version
The package ecommit/csv-table-generator contains the following files
Loading the files please wait ....