perftools/php-profiler
A low-overhead PHP profiler extension plus client library for collecting and exporting performance data. Capture CPU and memory usage for scripts and web requests, then send profiles to compatible backends for analysis and visualization.
var_dump debugging) by automating data collection and visualization.For Executives: "This lightweight, open-source profiler (165+ stars) lets us pinpoint performance bottlenecks in our PHP/Laravel services—without the cost of commercial APM tools. For example, it could help us cut checkout latency by 30% with minimal dev effort. Low risk (MIT license) and high ROI for debugging."
For Engineering:
"The perftools/php-profiler integrates with XHGUI to give us flame graphs, call stacks, and memory usage—like a lightweight Blackfire. It’s easy to drop into Laravel (e.g., middleware or service provider) and works in dev/staging. Tradeoff: No production-grade APM, but perfect for optimizing internal services or legacy code. Let’s prototype it on the [slowest endpoint] this sprint."
How can I help you explore Laravel packages today?