aeatech/web-snapshot-profiler-event-subscriber
symfony/event-dispatcher bridge) for seamless integration.ServiceProvider or Bootstrap hooks).Illuminate\Events) is similar to Symfony’s, but event names (e.g., kernel.request vs. Illuminate\Http\Events\RequestHandled) may require mapping.symfony/event-dispatcher or laravel-symfony-event-dispatcher to unify event systems.app/Http/Kernel.php) to trigger profiling at key stages (e.g., booted, finished).storage/framework/sessions or a custom database table would need adaptation.kernel.exception vs. Laravel’s Illuminate\Foundation\Bootstrap\HandleExceptions).laravel-debugbar).kernel.* events? Are critical events (e.g., Illuminate\Auth\Events\Attempting) supported?filesystem or database configurations?telescope, laravel-monitor)?symfony/event-dispatcher:^6.0).spatie/laravel-symfony-event-dispatcher or custom service provider to alias events.spatie/laravel-profiling).database or filesystem configurations for storage (e.g., JSON files in storage/app/profiler).symfony/event-dispatcher and aeatech/web-snapshot-profiler-event-subscriber.EventServiceProvider to map Symfony events to Laravel equivalents (e.g., kernel.request → Illuminate\Http\Events\RequestStarted).AppServiceProvider to initialize the profiler on booted.start/finish of requests.telescope or a custom API endpoint.notifications.ContainerInterface may need adaptation for Laravel’s Illuminate\Container\Container.Request object differs from Laravel’s Illuminate\Http\Request. Use a wrapper or normalize data.render()) may bypass Symfony’s kernel.exception.laravel-debugbar, blackfire/agent).Illuminate\Events).register() of a service provider).config/profiler.php).symfony/event-dispatcher and Laravel version compatibility. Symfony’s BC breaks may require patches.config/profiler.php) to avoid hardcoded values.profiler tag in GitHub issues.database connection with indexing on created_at.storage/app/profiler/2023-10-01.json).queue or a separate service (e.g., Elasticsearch).| Failure Scenario | Impact | Mitigation |
|---|---|---|
| Event subscriber not triggered | No profiling data | Health check endpoint to verify subscriber. |
| Storage backend fails (DB/files) | Data loss | Fallback to local cache (e.g., array in memory). |
| High profiling overhead | Increased latency | Disable in production via config flag. |
| Symfony event conflicts | Duplicate/missing events | Log unhandled events to storage/logs/profiler.log. |
| Dependency version mismatch | Runtime errors | Use composer.json constraints (e.g., ^6.0). |
How can I help you explore Laravel packages today?