The CsvHelper library provides a set of tools for reading and writing CSV files in PHP. It offers a flexible and efficient way to handle CSV data, supporting custom delimiters, enclosures, and escape characters. The library includes implementations using PHP's built-in SplFileObject and other popular CSV handling libraries, making it easy to integrate into various projects. With CsvHelper, you can easily read, write, and manipulate CSV data, ensuring compatibility with different CSV formats and improving the overall data processing workflow.
This library is still in development and should not be used in production environments yet.
To install the CsvHelper library, you can use Composer:
composer require phpcsv/csv-helper
We welcome contributions to the CsvHelper library! Please follow these guidelines:
- Respect all modern PHP coding standards and best practices.
- Ensure that all methods include type declarations.
- Pass all unit tests before committing your changes.
- Tests are required for any new features or bug fixes.
- In Progress: Native CSV PHP Extension
- Planned:
- Mapper
- Validators
- QCSV support
This project is open source and available under the MIT License. See the LICENSE file for more information.