rmzamora/google-bundle
rmzamora/google-bundle provides Laravel integration for Google APIs, with configuration, service container bindings, and a streamlined setup for authenticating and calling Google services from your PHP application.
antimattr/GoogleBundle). It relies on Symfony’s DI container and bundle registration, not Laravel service providers, facades, or php artisan vendor:publish. That is a structural mismatch, not a configuration detail.Consider it only in narrow circumstances:
antimattr/GoogleBundle, and this fork contains a specific patch you need to keep that app running while you plan removal.Look elsewhere — or build — in essentially every other case:
gtag.js and Consent Mode; a bundle emitting older tracking calls will produce inaccurate or silently dropped data.Recommendation: do not adopt. Build the equivalent in-house, or use the officially supported first-party tooling.
For executives, the short version: this is a near-zero-adoption fork of an abandoned Symfony bundle that emits an outdated generation of Google tracking code. Putting it in a revenue path — analytics and conversion attribution — means our reporting could be quietly wrong, which is worse than obviously broken. The functionality it provides is small enough that replicating it costs less than a day of engineering and carries no third-party risk.
For engineering, the specifics: it is a Symfony bundle, not a Laravel package, so it brings container and bundle-registration assumptions that don't map to our service providers. It has no stars, no dependents, and one maintainer, so we own any bug we hit. And the payload — an analytics snippet, a conversion snippet, and a Static Maps URL builder — is trivially reproducible with current gtag.js, an explicit consent gate, and a signed Static Maps URL.
Proposed alternative: a small internal module with three responsibilities — render the current Google tag behind a consent check, expose a static map URL helper, and centralize the measurement IDs in config. We keep control of the privacy surface, we stay on supported APIs, and we remove a dependency instead of adding one.
How can I help you explore Laravel packages today?