tipoff/laravel-google-api
Laravel integration for Google APIs using OAuth client secrets and stored access tokens. Publishes config, reads .env settings, supports service-specific overrides, and includes GMB Account and Key models with built-in policies and Nova resources.
php-cs-fixer via spatie). This may improve compatibility with newer Laravel/PHP versions.spatie) may introduce untested interactions with Laravel’s service container or Google’s SDK.spatie update suggests alignment with modern PHP tooling, but no confirmation that Laravel 10.x or Google API v3.x is supported.google/apiclient (v2.x) remains a blocking dependency; v3.x migration could break integration.Illuminate\Support\Manager changes).spatie) could introduce unexpected behavior (e.g., CS fixes altering code structure).spatie)?composer.json and composer.lock for dependency conflicts.composer why-not laravel/framework and composer why-not google/apiclient to check version constraints.GoogleApiRequesting, GoogleApiFailed) for observability.google/apiclient or spatie/google-api (more maintained) if integration fails or risks arise.Illuminate\Support\Manager changes).composer.json for minimum version)..env for OAuth2/service account credentials.php artisan vendor:publish.spatie/google-api) within 6–12 months due to inactivity.google/apiclient logging (\Google_Client::setDeveloperKey()).app.debug and config/debug for stack traces.php-cs-fixer changes).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Google API rate limits | App throttling | Implement retry logic with exponential backoff. |
| OAuth2 token expiration | Broken auth | Use refresh_token flow; store tokens securely. |
| Dependency conflicts | Integration breaks | Pin google/apiclient and Laravel versions. |
| CS/dependency update issues | Silent failures or runtime errors | Test in staging; roll back if needed. |
| Missing error handling | Silent failures | Wrap API calls in try-catch; log raw responses. |
| Credential leaks | Security breach | Use Laravel’s env() for secrets; rotate keys. |
.env with credentials.GoogleDrive::listFiles()).spatie, google/apiclient).composer.lock conflicts).google/apiclient usage (for fallback scenarios).How can I help you explore Laravel packages today?