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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky