Level 122
what does the URI look like. Presumably containing the company id?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
this the correct way to verify and ignore unique input in a request?
public function rules()
{
$company = $this->route('company');
return ['company_name' => 'required|unique:companies,company_name',' . $company->id];
}
Please or to participate in this conversation.