A brand new, blazing-fast, and ultra-lightweight PHP HTML sanitizer for modern PHP 8.4+ applications.
Hygiene is a lightweight and efficient PHP HTML sanitizer designed for modern PHP 8.4+ applications, providing robust protection against security risks like XSS attacks. It sanitizes raw HTML, attributes, and JSON data, offering flexible whitelisting and blacklisting to control content safety.