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
Install The Google Client Library Specifying Google Sheets
July 7, 2022
Enable Google Sheets API
July 4, 2022
Create A Google Credential OAuth Client ID
July 3, 2022
Create A Google OAuth Consent Screen
July 3, 2022
Create A Google Cloud Project
July 2, 2022
Delete Columns In Xlsx Files
July 2, 2022
Delete Rows In Xlsx Files
June 30, 2022
Insert Columns In Xlsx Files
June 27, 2022
Insert Rows In Xlsx Files
May 29, 2022
Browse by technique