Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Google Api Bundle Laravel Package

happyr/google-api-bundle

Symfony bundle that integrates the official Google APIs PHP client. It configures and exposes a ready-to-use Google_Client service, with bundle settings for application credentials, OAuth, and API access, simplifying Google service integration in Symfony applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Feature scoping for any Google-powered capability — "Sign in with Google," Calendar/Contacts sync, Drive import-export, Sheets or Slides as a document/reporting backend, Gmail send, Analytics pulls. For each, this package answers a narrow but useful question: how much Symfony glue do we need between our app and Google's SDK? The answer is "very little," which directly shrinks estimates.
  • Build vs. buy vs. wire-up — the real decision this surfaces is not "which wrapper" but "do we need a wrapper abstraction at all?" A Symfony bundle here is a DI-configured Google_Client plus credential/scope plumbing, and the 2.3.0 release confirms that thesis: its headline feature is two thin service classes (SlideService, DriveService) wrapping API resources we could call directly. That is a service definition and a config tree, not a product. Default position: wire the official google/apiclient directly and own the 30–50 lines.
  • Roadmap risk assessment — if Google integration is on the roadmap as a differentiator (not a checkbox), the dependency choice is a long-term maintenance liability decision, not a convenience decision. A single feature release after years of dormancy, still with no public dependents, is a signal that no one is absorbing that liability on our behalf. Two new wrappers do not constitute a release cadence.
  • Use-case triage where it still fits — internal admin tooling, one-off data exports, deck/report generation from Sheets + Slides, and prototypes on a legacy Symfony codebase. Low blast radius, short lifespan, no security-sensitive token handling beyond a service account.
  • Explicitly not supported decisions — multi-tenant OAuth token storage/refresh, per-user consent lifecycle, revocation, or scope escalation. The bundle gives you a client (now including Slides/Drive clients); the hard product problems (token persistence, re-auth UX, tenant isolation, quota handling) remain yours. Don't let "there's a bundle" mask that scope.

When to Consider This Package

Consider it when:

  • You are on a legacy Symfony 2.x/3.x application already using it, and a migration has no near-term budget — pinning is cheaper than rewriting this quarter.
  • You want a reference implementation to copy: it's a readable example of how to expose Google_Client as a container service with credentials and scopes from configuration, and 2.3.0 shows the pattern for adding resource-specific services (SlideService, DriveService) on top.
  • Your integration is service-account-only, server-to-server, with static scopes and no user consent flow — and now specifically if you need Slides deck generation or Drive file operations where the wrapper saves you real time.

Look elsewhere when:

  • You are on Symfony 4.4+, 5, 6, or 7, or PHP 8.x — verify constraints first; a bundle carrying 2018-era metadata is very likely to fight your framework version, and a broken DI extension is a bad first day.
  • Authentication is the requirement, not API access — use league/oauth2-google or a maintained OAuth bundle/Symfony authenticator instead.
  • You need a specific Google Cloud product (Storage, Vision, Translate, Pub/Sub) — use the official google/cloud-* libraries, which are maintained and typed.
  • You need per-user OAuth with token refresh and persistence — that belongs in your domain layer regardless of package; a wrapper adds a layer without removing the work.
  • Security or compliance review applies — an unmaintained dependency with no release cadence is a finding, not a discussion.

How to Pitch It (Stakeholders)

For executives: Someone proposed a third-party Symfony wrapper for Google APIs, and it just shipped a 2.3.0 release adding Slides and Drive support. My recommendation is unchanged: decline it as a dependency. It has 48 stars, its prior release was September 2018, and no public projects depend on it — effectively an unmaintained sample that recently added two small convenience classes. Adopting it saves us perhaps a day of setup and creates a migration item later. The official Google PHP client is actively maintained and integrates with Symfony in roughly the same amount of code. Net: same delivery date, materially lower long-term risk.

For engineering: Treat the bundle as documentation, not a dependency. Read how it registers Google_Client in the container and how 2.3.0 layers SlideService/DriveService over the generated API resources, then implement that directly against google/apiclient in our own services.yaml with credentials from env/secrets. Budget one to two days including OAuth flow and token storage. That gives us explicit control over refresh, scopes, and multi-tenant handling — the parts that actually carry product risk — without a stale pin in composer.json.

The one-line decision: wire the official SDK ourselves, using the new service classes as a pattern rather than a dependency; revisit only if we find we're rebuilding the same abstraction in three or more services.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package