niklasnordlund/php-xss-filter — Five functions for OWASP's five rules of XSS prevention
interbox-htmlfilter — a filter to remove unwanted elements and attributes in an html document for XSS prevention
Once a week...... I send out a list of most interesting PHP libraries and apps.
Want to get it?