sandermuller/stopwatch
A simple Laravel/PHP stopwatch package for measuring elapsed time, starting and stopping timers, and tracking laps or durations in your application.
TRANSIENT_EXCEPTION, deferred-job run retention, and stopwatch:runs:list --threw make failed-run investigation more trustworthy. PMs can prioritize exposing these filters in support/debug playbooks.recorded_at now represents run start time and stopwatch:runs:list labels it Started. Use this for consistent reporting; note that pre-v0.16.0 run files retain end time until pruned.STOPWATCH_INJECT handling and run_log.min_duration_ms reduce accidental always-on tracking and noise. This lowers adoption risk for teams enabling the package in shared environments.started() behavior after auto-dropped runs inform whether to invest in finer-grained checkpoint visualization.Consider it when:
stopwatch:runs:list, Debugbar timeline visibility, and MCP-based querying.Look elsewhere when:
recorded_at semantic change and legacy files retaining end times until pruning.For executives: This package is a low-cost, Laravel-native diagnostic tool that helps engineering find slow paths and failed runs faster. The latest release improves trust in run history, fixes missing failed-run visibility, and reduces accidental tracking from misconfiguration.
For engineering: v0.16.0 tightens run lifecycle behavior, fixes deferred-job run loss, corrects TRANSIENT_EXCEPTION filtering in CLI/MCP, makes STOPWATCH_INJECT handling safer, and ensures run_log configs without min_duration_ms do not log every run. It also improves Debugbar accuracy for sub-millisecond checkpoints and adds CI architecture checks.
For product: Adopt it where faster debugging and targeted performance visibility matter, especially in staging or developer workflows. Avoid positioning it as a production APM replacement; treat it as a focused instrumentation aid with some pre-1.0 maturity risk.
How can I help you explore Laravel packages today?