proomt

Search

Search posts, papers, and topics

All posts

LaravelYannick Lyn Fatt3 min readintermediate

Fast Excel 5.x Adds Streaming Imports and Safer Exports

Summary

Fast Excel 5.x adds lazy imports, chunked import controls, sheet/column selection, and formula escaping, enabling low‑memory processing of large Excel files in Laravel. It now requires PHP 8+ and Laravel 6‑13 and uses OpenSpout 4.

  • importLazy() streams rows via a Laravel LazyCollection, letting you batch‑insert without loading the whole file
  • headerRow(), startRow() and limitRows() let you chunk imports and separate headings from data rows
  • sheet() and onlyColumns() restrict imports to specific sheets and columns, cutting out empty fields
  • escapeFormulas() writes user‑controlled values as plain text to prevent accidental formula execution

Laravel engineers handling large Excel uploads or generating exports should use Fast Excel 5 to avoid memory bloat and mitigate formula‑injection risks.

6/10

Related reading

  1. Laravel Scalpel Scans for Filesystem Intrusion Evidence

    Laravel Scalpel is a Laravel‑native scanner that looks for post‑deployment filesystem tampering – rogue PHP files, obfuscated backdoors, altered .htaccess/.user.ini, missing or mis‑configured .env, and diffs against a signed baseline. It ships with six built‑in scanners, baseline snapshot commands, fast vs strict hashing modes, CI‑friendly output (JSON, SARIF, GitHub annotations) and a ScanFinish…

    Laravellaravel-news.com5 min
  2. What We Know About Laravel 14

    Laravel 14 (Q1 2027) raises the PHP minimum to 8.4 and adds several concrete API changes: a new `Route::query()` method, `$user->authorize()`, context support for `report()`, `Storage::fake()` for on‑demand disks, extended `whereKey*()` helpers, and fixes to queue‑pause signatures, non‑mutating `lazy()`/`chunk()`, array handling in `Cache::has/forget`, and `MassPrunable` soft‑delete behavior. The…

    Laravellaravel-news.com5 min
  3. Mercure Broadcasting in Laravel 13.32

    Laravel 13.32.0 adds a Mercure broadcast driver (SSE‑based real‑time), new FilesystemAdapter methods copyToDisk()/moveToDisk() for cross‑disk file moves, and enum support in Queue pause/resume APIs. Minor tweaks include default Cloud exit codes, collection return‑type fixes, and Mercure installer integration.

    Laravellaravel-news.com3 minrelease