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.
fgetcsv()/fputcsv(), making it a low-friction fit for Laravel applications handling CSV processing.Storage facade) and HTTP responses (e.g., CSV downloads via response()->streamDownload()).fgetcsv, fputcsv), reducing refactoring effort.fputcsv in benchmarks?Excel package)?fputcsv/fgetcsv for CSV exports/imports (e.g., admin panels, bulk actions).Storage (local/S3), Excel facade (for hybrid CSV/Excel workflows), and Http responses.fputcsv/fgetcsv with AjglCsvRfc\fputcsv/AjglCsvRfc\fgetcsv in:
CsvImporter classes).\" (escaped quotes).league/csv) in the long term.\", \n).How can I help you explore Laravel packages today?