overtrue/laravel-query-logger
Laravel Query Logger records every SQL query your app runs, including bindings and execution time, and writes readable logs for debugging. It highlights slow and duplicate queries, helping you spot N+1 and performance issues during local development with almost no setup.
overtrue/laravel-query-logger:^5.1.^5.1 if the application is on Laravel 12. Do not adopt v6 there; it is explicitly not compatible.For executives: This is a low-cost, focused Laravel query-logging package. The new major version is primarily a compatibility release for Laravel 13 and PHP 8.3+. It does not change production logging behavior, and it strengthens test and CI coverage. Teams on Laravel 12 should stay on the prior 5.1 line, so there is no forced upgrade.
For engineering: v6.0.0 requires Laravel ^13.0 and PHP ^8.3. The release adds meaningful behavior-test coverage for real SQLite queries, bindings, thresholds, exclusions, log channels, and request context, plus broader CI across PHP 8.3–8.5 and dependency graphs. Production source and logging behavior are unchanged. The main adoption gate is framework version; Laravel 12 applications must remain on ^5.1. Be aware of the disclosed upstream Symfony Translation deprecation in the lowest-secure graph and that the #71 SQL interpolation fix is not included.
How can I help you explore Laravel packages today?