SpartnerNL/Laravel-Excel ? reverse-engineered prompt

Reverse engineered prompt

Build me a Laravel package that makes it easy to export data to Excel or CSV and import spreadsheets back into my app.

I want to be able to take a collection or query and turn it into a spreadsheet with very little setup, and for larger data sets it should handle chunking and background jobs so it does not freeze the app. It should also support importing workbooks and worksheets into Eloquent models, with chunk reading and batch inserts for better performance.

If it makes sense, let me use a Blade view or simple HTML table for custom spreadsheet layouts. Please include clear examples, basic configuration, and a clean way to use it in a normal Laravel project. Look up the current PhpSpreadsheet and Laravel docs online if you need to make sure the implementation matches modern versions.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab