I have been looking at Laravel Excell which is well documented however offers to mention of how to export out via an API. I have also found an article from "Drive Marketing" giving step by step instructions on how to use the Kawax code.
Before I go and spend hours trying to get any of this work, I was wondering whether anyone had success in exporting DB table data out to a Google Sheet?
Sure. Laravel Excell exports in a wide variety of format, and if you have a spreadsheet on your computer, then it will open the data in a sheet. I have implimented Laravel Excell and use Libre Office and it works well.
However, ideally, I would like to send the data via an api straight to a cloud based google sheet template, such that when you opened the sheet, voila, there was the data.
It is all there in Libre Office, no problem. Furthermore I open it as an xls file. That's all good. My user wants it in a Google Sheet, which by definition means cloud based and exporting it from Laravel in json over a Google API.