Skip to content

A PHP library for reading and writing CSV files with ease. CsvHelper supports custom delimiters, enclosures, and escape characters, providing flexible and efficient CSV data handling. It includes implementations using PHP's SplFileObject and other popular CSV libraries, ensuring compatibility with various CSV formats.

License

Notifications You must be signed in to change notification settings

PHP-CSV/CSVHelper

Repository files navigation

CSV Helper

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.

Disclaimer

This library is still in development and should not be used in production environments yet.

Installation

To install the CsvHelper library, you can use Composer:

composer require phpcsv/csv-helper

Contributing

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.

Roadmap

Future Features

  • In Progress: Native CSV PHP Extension
  • Planned:
    • Mapper
    • Validators
    • QCSV support

License

This project is open source and available under the MIT License. See the LICENSE file for more information.

About

A PHP library for reading and writing CSV files with ease. CsvHelper supports custom delimiters, enclosures, and escape characters, providing flexible and efficient CSV data handling. It includes implementations using PHP's SplFileObject and other popular CSV libraries, ensuring compatibility with various CSV formats.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages