Large files
Design bounded-memory reading, import, progress, resume, and export workflows.
Updated
What you will learn
- Choose normal, streaming, chunked, or queued processing.
- Reduce memory with projection and disk-backed shared strings.
- Handle progress, row failures, manifests, and resumable jobs.
01020304
Choose a strategy
Decide between normal sessions, streaming rows, chunks, database imports, and queue-backed processing.
Stream and project
Read forward-only, select source columns early, and keep shared strings off the PHP heap when required.
Progress, failures, and resume
Report progress, collect row errors, persist manifests, and restart idempotently after interruption.
Large exports
Write rows from iterables or database cursors without building the full workbook in memory.
Was this guide useful?Use GitHub issues for corrections, missing examples, or unclear behavior.
Open an issue