PHPSpreadsheet · Google Sheets API · Excel
Spreadsheets, driven by code.
Hands-on PHP tutorials for working with Excel and Google Sheets — read and
write .xlsx, convert files to JSON, stream downloads in the
browser, and insert images, formulas, and styling. Every guide ships with
code you can copy, run, and adapt.
Key methods
IOFactory::load()
PhpSpreadsheet
getActiveSheet()
PhpSpreadsheet
fromArray()
PhpSpreadsheet
getCalculatedValue()
PhpSpreadsheet
save('php://output')
PhpSpreadsheet
spreadsheets_values->get()
Google Sheets
spreadsheets_values->update()
Google Sheets
spreadsheets->create()
Google Sheets
json_encode()
PHP
header()
PHP
Latest articles
Locate Text With The FIND Function In Excel
September 11, 2026
Extract Part Of A Text With The MID Function In Excel
September 10, 2026
Convert Text To A Number With The VALUE Function In Excel
September 10, 2026
Capitalise Text With The PROPER Function In Excel
September 9, 2026
Count Non-Empty Cells With The COUNTA Function In Excel
September 9, 2026
Catch Errors With The IFERROR Function In Excel
September 8, 2026
Round Numbers With The ROUND Function In Excel
September 8, 2026
Format A Number As Text With The TEXT Function In Excel
September 7, 2026
Replace Text With The SUBSTITUTE Function In Excel
September 7, 2026
Browse by technique