laravel validation rules deleted_at 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'