Weave 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

Thanks to @kumamidori contribution, the fputcsv function mimic the return values from the native function.

0.2.0

The new stream filter feature allows to integrate this component with league/csv using the Stream Filter API.

Review the README for more info.

0.1.0

Drop in replacement for native PHP CSV related functions to read and/or write RFC 4180 compliant CSV files.

Native Alternative
fgetcsv Ajgl\Csv\Rfc\fgetcsv
fputcsv Ajgl\Csv\Rfc\fputcsv
str_getcsv Ajgl\Csv\Rfc\str_getcsv
SplFileObject::fgetcsv Ajgl\Csv\Rfc\Spl\SplFileObject::fgetcsv
SplFileObject::fputcsv Ajgl\Csv\Rfc\Spl\SplFileObject::fputcsv
SplFileObject::setCsvControl Ajgl\Csv\Rfc\Spl\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.
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator