PHP Extension Repository is a modern mirror of PECL website with Windows pre-build.
pecl
install CSV
CSV PHP extension
A new and improved CSV file PHP extension which follows RFC 4180 instead of using a custom escape mechanism.
Supports multi-bytes delimiters, enclosures, and providing a custom EOL sequence.
Sponsor me via GitHub sponsors: https://github.com/sponsors/Girgias
Maintainer
Details
Downloads: | 40679 |
Minimum PHP version is now 8.0 due to the usage of new Zend APIs.
All functions have been moved to static methods of a new CSV class.
Function names now refer to "buffer" instead of "file" as a string is used.
CSV::collectionToBuffer() now supports iterable collections, not just arrays.
In case of field number miss-match a ValueError is thrown instead of an Error.
A new CSV::bufferToCollectionLax() has been introduced which doesn't throw a ValueError in case of field number miss-match.
Sponsor me via GitHub sponsors: https://github.com/sponsors/Girgias
requires: