@php echo "route('user'); $rules = [ 'name' => 'required', 'email' => 'required|email|unique:users,email,'.$id, 'password' => 'confirmed' ]; return $rules; } }