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