Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Csv Rfc Laravel Package

ajgl/csv-rfc

Drop-in replacements for PHP CSV functions to read/write RFC4180-compliant CSV. Fixes PHP’s fputcsv escaping bug with backslash + quote sequences, ensuring correct enclosure escaping. Includes fgetcsv/fputcsv/str_getcsv and SplFileObject equivalents.

View on GitHub
Deep Wiki
Context7
0.4.0

Changed

  • Require PHP >=7.3 or >=8.0
  • Upgrade php-cs-fixer dependency and fix-cs
  • Migrate code to PHP 7.3 adding scalar param type hints and return types
  • Upgrade phpunit dependency and fix tests
  • Migrate from travis-ci to github actions
0.3.0

Added

  • Add Ajgl\Csv\Rfc\CsvRfcUtils::fPutCsv return value.
  • Add Ajgl\Csv\Rfc\fputcsv return value.
0.2.0

Added

  • New Ajgl\Csv\Rfc\CsvRfcUtils::fixEnclosureEscape method
  • New stream filter Ajgl\Csv\Rfc\CsvRfcWriteStreamFilter

Changed

  • Remove the abstract declaration of Ajgl\Csv\Rfc\CsvRfcUtils
  • Declare the Ajgl\Csv\Rfc\CsvRfcUtils constructor as private
  • In writing context, the escape char should be a backslash (\), any other value will be ignored.
0.1.0

Added

  • Add alternative implementation for CSV related functions:
    • str_getcsv
    • fgetcsv
    • fputcsv
  • Add alternative implementation SplFileObject and SplTempFileObject to overwrite:
    • SplFileObject::fgetcsv
    • SplFileObject::fputcsv
    • SplFileObject::setCsvControl
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
craftcms/url-validator
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony