pulkitjalan/google-apiclient
Laravel package to integrate Google APIs via the official Google API PHP Client. Provides a simple service provider, facade, and config for authentication and common Google services, making it easy to access Google APIs in your Laravel apps.
.env support for API keys).google-api-created) for async workflows.google/apiclient, limiting customization for edge cases (e.g., OAuth2 flows beyond standard GCP scopes).google/apiclient (~50MB+), which may be overkill for projects only using 1–2 GCP services.vcr-php or custom test doubles).google/apiclient (last updated 2024-05-01). If Google deprecates endpoints, the wrapper may lag in updates..env files).google/apiclient (e.g., custom middleware, retry logic)?google/apiclient + custom Laravel bindings) or serverless approach (e.g., Cloud Functions) be better?Google::drive()), service providers, and config caching.GoogleJob::dispatch()).composer require pulkitjalan/google-apiclient --dev.php artisan vendor:publish --tag=google-apiclient-config).config('services.google.key_file')).google/apiclient usage with the wrapper’s facades.Google facade (e.g., using Mockery).Guzzle interceptors to stub GCP responses.composer.json constraints).curl, dom, mbstring, and json (standard in Laravel).openssl for OAuth2 flows (enabled by default in Laravel).README for unsupported APIs (e.g., newer Firebase tools).GoogleException).GoogleDriveFileUploaded).Monolog channel).composer update pulkitjalan/google-apiclient).google/apiclient may break the wrapper (test thoroughly).google/apiclient, and Laravel layers.google/apiclient to a specific version in composer.json.google/apiclient docs and Laravel’s ecosystem.chunk() or batch() helpers for large datasets.drive.googleapis.com vs. drive.googleapis.com/us) for latency.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| GCP API Downtime | App features break (e.g., file uploads fail). | Implement fallback storage (e.g., local + retry). |
| Credential Leak | Un |
How can I help you explore Laravel packages today?