Choose the right authentication method
mainDepending on your use case, choose one of the following authentication methods:
- Service Account: Recommended for most Laravel applications, automated systems, and background jobs. It uses a JSON key file to authenticate as a non-human user.
- OAuth 2.0: Use when your application needs to act on behalf of a specific user to access their personal Google Sheets.
- API Key: Only suitable for reading public spreadsheets. This is very limited in scope.