// return first row by id
$user = AppUser::where('id',$id)->first();
// or return directly a field
$userId = AppUser::where(...)->pluck('id');
$user = User::where('mobile', Input::get('mobile'))->get();
if (!$user->isEmpty()){
$firstUser = $user->first()
}