reactphp-csv

Streaming CSV (Comma-Separated Values or Character-Separated Values) parser and encoder for ReactPHP.

MIT License

Downloads
29.5K
Stars
53
Committers
5
reactphp-csv - Latest Release

Published by SimonFrings over 2 years ago

  • Feature: Support custom EOL character when encoding CSV.
    (#26 by @clue)

    $csv = new Clue\React\Csv\Encoder($stdout, ',', '"', '\\', "\r\n");
    
  • Feature: Add headers event to AssocDecoder class.
    (#29 by @SimonFrings)

    $csv->on('headers', function (array $headers) {
        var_dump($headers); // e.g. $headers = ['name','age'];
    });
    
  • Feature: Check type of incoming data before trying to decode CSV.
    (#27 by @clue)

  • Feature: Support parsing multiline values starting with quoted newline.
    (#25 by @KamilBalwierz)

  • Improve documentation and examples.
    (#30 and #28 by @SimonFrings, #22 and #24 by @clue and #23 by @PaulRotmann)

reactphp-csv - v1.1.0

Published by clue almost 4 years ago

  • Feature: Add decoding benchmark plus benchmark for GZIP-compressed CSV files.
    (#15 by @clue)

  • Improve test suite and add .gitattributes to exclude dev files from exports.
    Add PHP 8 support, update to PHPUnit 9 and simplify test setup.
    (#13 and #14 by @clue and #16, #18, #19 and #20 by @SimonFrings)

  • Improve documentation wording/typos and examples.
    (#9 by @loilo and #10 by @clue)

reactphp-csv -

Published by clue about 6 years ago

  • First stable release, following SemVer
Package Rankings
Top 11.49% on Packagist.org
Badges
Extracted from project README
CI status installs on Packagist
Related Projects