Find out where a query is executed in a Laravel app
The Query Tracer package can help you find out where a specific database query is being called. It works with both Clockwork and the Laravel Debugbar. Here's a screenshot taken from the readme:
https://github.com/fitztrev/query-tracer
EDIT: turns out that Laravel Debugbar can do this out of the box:
