keboola/csv-options

CSV options lib

v1.0 2019-11-19 14:28 UTC

This package is auto-updated.

Last update: 2020-10-21 11:43:05 UTC


README

Build Status

Options for csv files

Usage

new CsvOptions(
    string $delimiter = CsvOptions::DEFAULT_DELIMITER,
    string $enclosure = CsvOptions::DEFAULT_ENCLOSURE,
    string $escapedBy = CsvOptions::DEFAULT_ESCAPED_BY
);

Development

Clone this repository and init the workspace with following command:

git clone https://github.com/keboola/php-csv-options
cd php-csv-options
docker-compose build
docker-compose run --rm dev composer install --no-scripts

Run the test suite using this command:

docker-compose run --rm dev composer tests