laravel DB::table select table.name as code example Example: DB::table('users')->get(); DB::select('select * from users ');