Level 70
The easiest way I suggest to add debug bar package. https://github.com/barryvdh/laravel-debugbar
Besides, you can check this post: https://stackoverflow.com/questions/58278766/how-to-get-a-query-response-time-on-eloquent
8 likes
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello
During executing my query, I want to know the time how many seconds the query has taken to execute like symfony.
The easiest way I suggest to add debug bar package. https://github.com/barryvdh/laravel-debugbar
Besides, you can check this post: https://stackoverflow.com/questions/58278766/how-to-get-a-query-response-time-on-eloquent
Please or to participate in this conversation.