add statment in the builder query laravel code example Example: DB::table('users')->get(); $users = DB::table('users')->get();