Starting with the Google Developer documentation on the Google Spreadsheets API, I found that \"A number of client libraries are provided in various languages.\", but Google
You can use the PHP Google Spreadsheet Client library.
You'll need to use the Google APIs Client Library for PHP as well to authenticate via OAuth2. Developer documentation is linked on the github page.