文档 数据库 - 起步 public function boot() { \DB::listen(function($query){ var_dump($query->sql); var_dump($query->bindings); echo '<br/>'; }); }