HTMLPurifier and html-sanitizer are different in terms of “fixing” HTML. HTMLPurifier does that, html-sanitizer does not.
HTMLPurifier is battle-tested, very stable, has tons of tests. Latest release is February 22, 2018. In general releases are yearly ones.
HTMLPurifier was checked by professional security guys. At least I know that Scott Arciszewski, who also checked Yii and got libsodium into PHP, recommends it.
html-sanitizer is a bit slower. Since it’s often used in templates and used hard, it may make a difference.
html-sanitizer is young and, as far as I know, wasn’t yet checked by security professionals.