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