keboola / csv-options
CSV options lib
v1.2
2022-10-21 10:34 UTC
Requires
- php: ^7.1|^8.0
Requires (Dev)
- keboola/coding-standard: ^13
- php-parallel-lint/php-parallel-lint: ^1.3
- phpstan/phpstan: ^1.4
- phpunit/phpunit: ^7.5|^8.5
This package is auto-updated.
Last update: 2024-12-21 15:29:21 UTC
README
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
License
MIT licensed, see LICENSE file.