laravel validation rules is exists check code example Example: laravel exists validation 'state_id' => 'exists:states,id'