voku/anti-xss
PHP AntiXSS library to sanitize untrusted HTML and prevent XSS attacks. Cleans input by removing dangerous tags/attributes, filters CSS/JS vectors, and supports UTF-8 and common encodings. Useful for safely handling user-generated content in apps.
Executives: "This package eliminates critical XSS risks that could lead to data breaches, regulatory penalties, and reputational damage. By adopting a proven, MIT-licensed solution, we reduce development costs, accelerate secure feature delivery, and ensure compliance—all while protecting user trust and brand integrity."
Engineering: "It integrates seamlessly with Laravel, offering advanced sanitization for complex scenarios beyond Blade’s auto-escaping (e.g., HTML in JSON or JavaScript contexts). With customizable allowlists and context-aware filtering, it removes manual security checks, reduces bugs, and frees up engineering bandwidth for high-impact features."
How can I help you explore Laravel packages today?