Query Tracer Package

Packages

May 17th, 2016

687474703a2f2f692e696d6775722e636f6d2f644b6d383253322e706e67

Laravel Query Tracer is a new package by Trevor Fitzgerald that allows you to find exactly where a query is being called in your app. It works by tapping into Laravel’s global query scopes to do a backtrace and find where a query originated.

The package ships with support for the Laravel Debugbar, Clockwork, or your own query listener.

Update: Barry vd. Heuvel, author of Debugbar, pointed out on Twitter that this is already included with it.

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.