elao/profiler-dashboard-bundle
Symfony bundle that aggregates recent Symfony Profiler data (requests, timings, DB queries, etc.) into a single dashboard view, making it easier to compare and monitor performance across the last requests in dev/test environments.
HttpKernel, DebugBundle). Mostly stable, but version pinning will be critical.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| Laravel Version Gap | Critical | Fork/rebase for Laravel 8/9+ or replace with alternatives (e.g., Laravel Debugbar). |
| Data Persistence | High | Extend with event listeners to store metrics in a DB/table. |
| Query Profiling | Medium | Test conflicts with Eloquent’s query logging. |
| Performance Overhead | Low | Profile impact on production (likely negligible for low-traffic apps). |
| Maintenance Burden | High | Abandoned repo; expect manual fixes for bugs/upgrades. |
Why not modern alternatives?
Migration Path
APP_DEBUG=true environments)?Data Retention & Alerting
Team Skills
DB::enableQueryLog(), disable one or the other.// Example: Store metrics in a DB table via event
use Elao\ProfilerDashboardBundle\Event\ProfilerEvent;
event(new ProfilerEvent($metrics));
// Listen for the event and save to DB.
Assessment Phase:
Integration Steps:
composer require elao/profiler-dashboard-bundle:dev-main
config/profiler.php.config/app.php (or use Laravel’s auto-discovery).profiler_metrics table).Fallback Plan:
ProfilerListener) into a custom package.| Component | Compatibility Status | Notes |
|---|---|---|
| Laravel 8/9/10 | ❌ Broken | Requires manual fixes or fork. |
| Eloquent Query Logging | ⚠️ Partial Conflict | Disable one or merge data streams. |
| Symfony 5.x | ✅ Likely OK | Core dependencies are stable. |
| Custom Blade Views | ✅ Full Support | Render metrics anywhere in the UI. |
| CI/CD Pipelines | ⚠️ Manual Testing Required | Profile in test environments. |
| Failure Scenario | Impact | Recovery Strategy |
|---|---|---|
| Bundle breaks in Laravel 8+ | No profiling data | Rollback to manual profiling or fork fix. |
| DB storage overload | Slow queries, timeouts | Add indexing, batch inserts, or disable. |
| Metrics collection errors | Incomplete/inaccurate data | Validate against Xdebug or Debugbar. |
| Session storage corruption | Lost metrics | Switch to DB storage. |
How can I help you explore Laravel packages today?