db raw query in eloquent code example Example: DB::table('users')->get(); DB::select('SELECT * FROM users WHERE name = "'.Input::get('name').'"');