We have an export feature that can build an Excel file over the course of many background jobs. Worked beautifully for years. Man, those were the days.
PHP
Eloquent Performance and Database Design: Evidence Before Eager Loading
A deep dive into Eloquent performance, from detecting N+1 queries to choosing aggregates, indexes, query plans, pagination, chunking, and transaction boundaries for a growing team dashboard. Read more