Exists can have 4 parameters:
exists:table,id,where,0
The question is, What if I wanted it to be where is not. Like where is not 0.
$validator = Validator::make(
array(
'groups' => $groups
),
array(
'groups' => 'required|exists:groups,jid,parent,!=,0'
)
);