<?php
\Event::listen('Illuminate\Database\Events\QueryExecuted', function($query) {
    var_dump($query);
});