pbweb/xhprof
Laravel-friendly integration for XHProf profiling. Collect and store performance data (CPU, memory, call graphs) for your PHP requests, making it easier to analyze slow code paths and regressions during development or troubleshooting.
Adopt if:
Look elsewhere if:
For Executives: *"XHProf is a lightweight, open-source profiler that helps us pinpoint and fix performance bottlenecks in our PHP/Laravel applications—without the cost or complexity of commercial APM tools. By integrating this, we can:
For Engineering: *"XHProf gives us hierarchical profiling (function-level timing) to:
Route::get() → Controller::method() → Model::query()).pecl install xhprof), add the Laravel wrapper (pbweb/xhprof), and start profiling critical paths. No agents or agents—just pure PHP instrumentation.
Downside: No pretty UI out of the box (we’ll need to build visualizations or use Grafana), but the raw data is gold for optimization."How can I help you explore Laravel packages today?