crassula/google-cloud-error-reporting-bundle
Symfony bundle integrating Google Cloud Error Reporting. Configure project ID, service name and credentials, enable per environment, then report exceptions via the ErrorReporter service with optional HTTP request/response and user context.
kernel.exception, console.error events).Adopt if:
google-cloud-php-errorreporting).Look elsewhere if:
"This bundle lets us leverage Google Cloud’s native error reporting to centralize and analyze production issues—reducing MTTR (mean time to resolve) without adding new SaaS costs. By integrating with our existing GCP stack, we avoid tooling sprawl and gain visibility into user-impacting errors (e.g., failed API calls, auth issues) with minimal dev effort. The MIT license and GCP’s free tier make it a low-risk, high-reward observability upgrade."
Key Outcomes: ✅ Cost-efficient: Uses GCP’s free tier; scales predictably. ✅ Unified Data: Errors appear alongside logs/metrics in Cloud Console. ✅ Compliance-Ready: Retention and audit trails built into GCER.
"This bundle plugs Google Cloud Error Reporting into Symfony with a few config lines. It automatically captures exceptions (via kernel.exception listeners) and enriches them with HTTP/user context—no manual instrumentation needed. The tradeoff? We’re tied to GCER’s alpha-stage PHP client (monitor for updates), but the payoff is seamless GCP integration and no Sentry/Rollbar dependency."
Implementation Notes:
ValidationException) via config.Call to Action: "Let’s prototype this in staging with a critical microservice (e.g., payments) to validate error coverage and GCP integration. If it meets our needs, we can roll it out to all Symfony apps."
How can I help you explore Laravel packages today?