druidvav/sentry-extension-bundle
Symfony bundle that integrates Sentry error tracking into your application. It provides a configurable extension to capture exceptions, report errors, and monitor performance with minimal setup, helping you keep production issues visible.
Release Impact (v1.3.0)
DependencyInjection\Extension\Extension class while preserving existing behavior and avoiding a removed HttpKernel import.sentry/sentry-laravel as the core integration. This package remains best treated as a reference or fork candidate for Symfony-specific Sentry behavior. Laravel’s service providers, middleware, events, and exception handler remain the correct adaptation points.sentry/sentry-laravel still matters. The package’s Symfony enhancements, such as HTTP exception handling and framework listeners, may not translate directly. Feasibility depends on a feature-gap analysis against sentry-laravel and any existing custom listeners.config/sentry.php, .env, and service-container bindings. v1.3.0 does not change this. Confirm whether the extension refactor changes extension aliases or configuration keys before forking.HttpKernel import. Replace Symfony request/event/monolog assumptions with Illuminate\Http\Request, Laravel events, and Laravel logging.HttpKernel import and adopting a public DI extension base. This is useful for long-term fork maintenance.sentry-laravel is still unclear.sentry-laravel as the production baseline. Fork this package only for clearly identified missing features, starting from v1.3.0, and test one feature at a time.sentry-laravel or spatie/laravel-sentry?sentry/sentry-laravel for core Laravel Sentry integration.| Package Feature | Laravel Equivalent | Adaptation Required |
|---|---|---|
| Symfony bundle extension | Laravel service provider | Rewrite as AppServiceProvider or package provider |
Symfony ErrorListener |
App\Exceptions\Handler / middleware |
Custom exception reporting |
| Twig integration | Blade templates | Manual capture in view composers or middleware |
| Monolog handler | Laravel Log facade / Monolog channel |
Bind Sentry handler through logging config |
| HTTP exception capture | Laravel HTTP exception handling | Extend exception handler or middleware |
| Span instrumentation | sentry-laravel spans / Telescope |
Prefer native Laravel tracing |
sentry-laravel.sentry-laravel for production error capture, tracing, and queue/job failure reporting.HttpKernel import by using Symfony’s public DependencyInjection\Extension\Extension class. This is a targeted Symfony compatibility improvement.Symfony\Component\HttpFoundation\Request → Illuminate\Http\Requestconfig/sentry.php / .envHttpKernel import.sentry-laravel baseline.sentry-laravel as the production baseline unless a specific, validated feature gap justifies a controlled fork.How can I help you explore Laravel packages today?