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