How to work with Google Spreadsheets in PHP

Posted on March 07, 2017 | By Matt Stauffer

Warning: This post is over a year old. I don't always update old posts with new information, so some of this information may be out of date.

I had the pleasure of writing a guest post at Twilio's blog this week, focusing on how to read, insert, update, and delete data in Google Spreadsheets using PHP. It's not Laravel-specific, but throwing in a service provider would simplify the sample code up quite a bit. Check it out!

Google Spreadsheets and PHP graphic

Have you ever needed to pull some data from a Google Spreadsheet? My default in the past would be to export the data and upload it to the app directly, but it turns out it’s not very difficult to read directly from Google Spreadsheets using the Google Drive API.

Twilio - Google Spreadsheets and PHP


Comments? I'm @stauffermatt on Twitter


Tags: written-elsewhere  •  google  •  spreadsheets  •  sdk  •  php