gcg-it/sentry-symfony
gcg-it/sentry-symfony integrates Sentry error tracking and performance monitoring into Symfony applications, offering automatic exception capture, request tracing, and configurable reporting through Symfony bundle and dependency injection setup to help teams diagnose production issues quickly.
sentry/sentry-laravel; for Symfony the official sentry/sentry-symfony.Consider it only when:
Sentry\Client/Hub.Look elsewhere when:
KernelEvents listeners (kernel.request, kernel.exception, kernel.terminate). Laravel never executes that lifecycle, so automatic exception capture and breadcrumb collection silently never fire — the worst failure mode for an observability dependency. Use sentry/sentry-laravel.sentry/sentry-symfony unless this fork carries a specific, documented patch.sentry/sentry SDK is the correct dependency.Minimum diligence before any adoption: check composer constraints against your PHP and Symfony LTS versions, diff against upstream to gauge drift, confirm the license, check last commit and issue responsiveness, and name an internal owner for the dependency.
To executives: We need production error visibility to cut time-to-detection and time-to-resolution on customer-facing incidents. Sentry is the buy-not-build option — it replaces bespoke logging, alerting, and triage tooling with a managed service and gives us release-level regression detection. The integration library is a small, low-cost piece of that decision; the value sits in the vendor commitment and the operating practice, not in any single package. Expect roughly a day of integration per service plus a triage runbook.
To engineering: The vendor recommendation is Sentry; the package recommendation is the official SDK per framework — sentry/sentry-laravel for Laravel services, sentry/sentry-symfony for Symfony services. gcg-it/sentry-symfony is a third-party Symfony fork with no stars and no dependents, and it will not instrument a Laravel request lifecycle. We should not put it in the dependency tree without a documented reason and an owner. If a specific fork patch is genuinely required for a legacy Symfony service, we pin it, track it, and open an upstream issue so we can return to the official bundle. Integration work is install the SDK, set the DSN per environment via secrets, wire Monolog for warnings and above, tag releases in CI, configure scrubbing so PII never leaves the process, and verify with a deliberately thrown exception in staging — a misconfigured DSN fails silently, so we confirm a real send before declaring the workstream done.
How can I help you explore Laravel packages today?