79517703

Date: 2025-03-18 14:08:50
Score: 1
Natty:
Report link

I would go with form objects. The unique rule allows to ignore a defined ID like so

Rule::unique('recipes,name')->ignore($existingId), 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ya-cha