What do "except" and "idColumn" refers in "unique:table,column,except,idColumn"? from Laravel docs
So you are right about the except
parameter, it is the id that you want to be excluded from the check.
And idColumn
is optional in case your column is not called id
but user_id
for example. So you will use:
'required|unique:users,email,'.$this->id . ',user_id';