check if name is unique among non-deleted items laravel code example
Example: check if name is unique among non-deleted items 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'