Scripts & Templates

PhpSpreadsheet

A PHP library for reading and writing Excel and CSV files.

Pass it on: WhatsApp
Added
Oct 31, 2026
Source
github.com

If your site needs to export reports to Excel or let people upload a spreadsheet, PhpSpreadsheet does the heavy lifting. It handles formulas, formatting, multiple sheets and more.

What you can do with it

  • Export orders, contacts or reports to .xlsx
  • Read uploaded Excel files into your database
  • Create formatted spreadsheets with formulas and colours

Good to know

Large files can use a lot of memory on shared hosting. For big exports, plain CSV is lighter.

Was this helpful?