exist in laravel validation code example Example: laravel exists validation 'state_id' => 'exists:states,id'