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
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
Count Characters With The LEN Function In Excel
September 6, 2026
Remove Extra Spaces With The TRIM Function In Excel
September 6, 2026
Join A Range With A Separator With The TEXTJOIN Function In Excel
September 5, 2026
Join Text With The CONCAT Function In Excel
September 5, 2026
Browse by technique