endroid/google-api-bundle
Symfony bundle that integrates google/google-api-php-client into your app, letting you configure your application name and API key once and inject the ready-to-use client via the endroid.google_api_client service to access any Google API.
AppKernel::registerBundles(), a lifecycle Laravel does not have. The decision this package actually informs is "this is the wrong framework contract," which is a five-minute call rather than a scored evaluation.google/google-api-php-client in a Symfony service container — glue measured in tens of lines. For a PM this collapses the build/buy trade-off: "build" (a Laravel service provider plus a config file) is cheaper than the coordination cost of adopting, vetting, and later replacing a third-party wrapper.Consider it only under narrow, time-boxed conditions:
abandroid) rather than the upstream author named in the README (endroid) — verify provenance before touching it.Look elsewhere — decisively — when any of the following holds:
For executives (one paragraph): We evaluated endroid/google-api-bundle for Google API integration and recommend against adoption. It is an archived, effectively unused wrapper — two GitHub stars, zero dependent projects, documentation limited to a README — that adds a dependency without adding capability, since all of its functionality comes from Google's own supported client library. More importantly, it targets Symfony, not our Laravel stack, so adopting it would mean bending our architecture around an unmaintained component. The equivalent we'd write ourselves is measured in hours, not sprints, and the risk of the dependency is open-ended. Recommendation: no adoption; where a legacy system already uses it, schedule replacement alongside the next planned upgrade rather than treating it as an emergency.
For engineering (the technical case):
google/google-api-php-client in a Symfony container. The Laravel equivalent is a singleton binding plus a config/google.php — roughly a day including tests.AppKernel::registerBundles() is Symfony-specific and retired in favour of Flex; it does not map onto Laravel's lifecycle, so the "integration convenience" it advertises does not apply to us.google/apiclient (or the specific google-cloud-* library for the API in question) behind our own thin service provider; laravel/socialite for Google sign-in; direct HTTP with a service account for single-endpoint cases. Credentials from environment/secret manager, never a committed JSON key.How can I help you explore Laravel packages today?