laravel 数据库 7 -- debug
20 March 2017
namespace App\Providers;

use DB;
use Illuminate\Support\ServiceProvider;

class AppServiceProvider extends ServiceProvider {
    public function boot() {
        DB::listen(function($sql) {

        });
    }
    public function register() {}
}