"required|string|max:50", "username" => "required|string|regex:/^\S*$/u|min:6|max:25|unique:users,username," . $this->user->id, "role_id" => "required|numeric", ]; } }