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
Reshape A Grid With The TOCOL And TOROW Functions In Excel
August 28, 2026
Combine Ranges With The VSTACK And HSTACK Functions In Excel
August 27, 2026
Split A Text Column With The TEXTSPLIT Function In Excel
August 27, 2026
Find And Replace In A Google Sheet Using Google Sheets API PHP Client
August 20, 2026
Add A Chart To A Google Sheet Using Google Sheets API PHP Client
August 20, 2026
Protect A Range In A Google Sheet Using Google Sheets API PHP Client
August 19, 2026
Filter Rows In A Google Sheet Using Google Sheets API PHP Client
August 19, 2026
Sort A Range In A Google Sheet Using Google Sheets API PHP Client
August 19, 2026
Add A Dropdown To A Google Sheet Using Google Sheets API PHP Client
August 17, 2026
Browse by technique