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
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
Insert Rows And Columns In A Google Sheet Using Google Sheets API PHP Client
August 17, 2026
Add Conditional Formatting In A Google Sheet Using Google Sheets API PHP Client
August 16, 2026
Browse by technique