Based on the documentations. Exists can have 4 parameters:
exists:table,id,where,0
The question is, What if I wanted it to be where is not. Lik
With Laravel 5.2 or later you can prepend the values to be checked against with a !:
!
'groups' => 'required|exists:groups,jid,parent,!0'
The same login goes for unique, only you need the extra parameters:
unique
'groups' => 'required|unique:groups,jid,NULL,id,parent,!0'