php laravel get table query code example Example: DB::table('users')->get(); DB::select('select * from users ');