laracraft-tech/laravel-xhprof
Laravel package integrating XHProf profiling into your app. Capture and review performance data for requests, analyze bottlenecks, and compare runs to optimize code, queries, and overall response time with minimal setup and overhead.
?profile=1 to any route to instantly visualize wall time, memory usage, and call graphs")./orders in the feature/payment branch—block merge until optimized").php -m | grep xhprof).xhprof)."This tool directly impacts our bottom line by helping the team ship faster and maintain high performance—here’s how it delivers ROI:
?profile=1 to any URL) instead of hours of trial-and-error debugging. Example: "Identified and fixed a 500ms bottleneck in the checkout flow in one sprint, reducing cart abandonment by 15%."Ask: "Would you prefer to spend $20K/year on APM tools or invest 2 hours to set up this free, open-source solution that delivers the same insights during development?"
"This package solves three critical pain points for our team:
?profile=1 to any route to get a flame graph of wall time, memory usage, and function calls—no setup beyond a Composer install.Key Benefits:
Implementation Plan:
/api/orders, /checkout).Ask: "Should we allocate 2 hours to set this up and start catching performance issues before they impact users?"
"This package makes profiling effortless—here’s how it fits into your workflow:
?profile=1 to any URL to see a flame graph of execution time, memory usage, and function calls.Xhprof::start() and Xhprof::stop() to profile background tasks.assertLessThan(500, $profile->getWallTime())).Why It’s Better Than Alternatives:
Example Workflow:
/api/orders is slow.?profile=1 to the URL.Order::with('items')->get() takes 400ms.Order::with(['items' => fn($q) => $q->limit(10)])->get().Ask: "Want to spend 10 minutes setting this up and save hours of debugging time?"
How can I help you explore Laravel packages today?