laracraft-tech/laravel-xhprof
Integrate XHProf profiling into your Laravel app to measure request performance, capture CPU/memory metrics, and analyze call graphs. Includes middleware/collectors to enable profiling per route or environment and store runs for later review.
?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%.""This package integrates seamlessly into Laravel and gives you instant visibility into performance issues—here’s how to use it effectively:
?profile=1 to any URL or enable via middleware to instantly see wall time, memory usage, and call graphs.send-emails job was taking 45 minutes—profiling showed it was stuck in a loop").feature/payment branch added 300ms to /orders—fixed before merge.""This tool aligns with your goals by ensuring fast, reliable, and scalable features—here’s how it supports your roadmap:
"This is the fastest way to debug performance issues in Laravel—here’s how to get started:
composer require laracraft-tech/laravel-xhprof
php artisan vendor:publish --tag=xhprof-config
php artisan migrate
?profile=1 to any URL.Xhprof::start()/stop().skip_urls in config.local environment).Example Workflow:
"Our
/api/ordersendpoint was slow. I added?profile=1, saw a 400ms spike inOrder::with('items')->get(), and optimized the query. Fixed in 20 minutes—no more guessing!"
How can I help you explore Laravel packages today?