use results of laravel db::raw code example Example: DB::table('users')->get(); DB::select('select * from users ');