-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XHProf profiler for laravel #23
Comments
Hello. Yes, you can use the Profiler package to integrate XHProf profiler with your Laravel application. To bind the Profiler classes into the Laravel container, you can refer to the example in the ProfilerBootloader.php file. This example demonstrates how to bootstrap the Profiler and bind it to the Laravel container. |
Created a basic repo to kick off Laravel support. Check it out here. It's functional, but still a work in progress. Your input is welcome! 🛠️ |
Hey @butschster, It's great to know that the package found its way into the project readme. I've just rolled out a new release that automatically registers the middleware but also introduces support for toggling the profiler using a header, similar to the spiral/profiler package. I noticed that the "Using buggregator with Docker Compose" section in the project readme is incomplete for Laravel. To make it work with Sail, make sure to add it to the sail network. Without this step, the framework won't be able to establish a connection with the server.
Thank you for the effort you put into this; I'm really enjoying using it! |
It would be great if you create a PR with instruction for Laravel in readme! |
Instruction can be found here https://docs.buggregator.dev/config/xhprof.html#laravel Thx @maantje! |
Hello,
is it possible to combine the xhrof viewer with laravel?
The text was updated successfully, but these errors were encountered: