if deleted_at null hide create 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'