app/Providers/AppServiceProvider.php
/**
     * Bootstrap any application services.
     *
     * @return void
     */
Bootstrap any application services.
@return void
Bootstrap any application services . @return void
public function boot()
    {
        \Validator::extend('spamfree', 'App\Rules\SpamFree@passes');
    }
public function boot ( ) { \ Validator :: extend ( 'spamfree' , 'App\Rules\SpamFree@passes' ) ; }
Bootstrap any application services.
Bootstrap any application services .
//\DB::listen(function ($e) { //triggered anytime a sql query is run //    info($e->sql); // \Log::info($e->sql) //});        