DB:table orderby('id','DESC') model with join laravel code example
Example: DB::table('users')->get();
DB::table('users')->where('name', Input::get('name'))->get();
DB::table('users')->where('name', Input::get('name'))->get();