laravel validation exists in table with soft delete code example
Example: check already exists from non deleted rows laravel
'name' => 'required|min:1|unique:versions,name,NULL,id,deleted_at,NULL'
'name' => 'required|min:1|unique:versions,name,NULL,id,deleted_at,NULL'