laracraft-tech/laravel-xhprof
Laravel XHProf is an easy profiling package that helps you find performance bottlenecks in your Laravel apps. Enable it, browse your app, then inspect detailed XHProf or Tideways call graphs through a built-in web UI to see exactly where time is spent.
microtime()/DB::listen harness, or against no instrumentation at all. An MIT package with Laravel 10–13 support and a roughly one-hour install is nearly always the cheaper option for targeted internal investigation, and it requires no procurement cycle or legal review to get started.Adopt when:
tideways_xhprof) is a hard dependency; verify it's loaded in both the web and CLI SAPIs before committing, because queue and command profiling is frequently the higher-value half.Look elsewhere when:
DB::listen approach if the question is purely query-related.One-line framing: a free, MIT-licensed Laravel package that turns "the app is slow" into a ranked, evidence-backed list of bottlenecks in about an hour of setup — scoped to development and staging, with no vendor contract and no production footprint.
For executives — this is a capacity-allocation decision, not a tooling purchase:
For engineering leaders — three concrete wins, one real risk:
For engineers — what changes about your day:
xhprof.so enabled in both web and CLI php.ini. Verify the extension first; if it's missing, stop and pick another path rather than debugging a silent no-op a week later.How can I help you explore Laravel packages today?