ezyang/htmlpurifier
HTML Purifier is a robust HTML filtering library that prevents XSS using strict whitelists and aggressive parsing, producing standards-compliant output. Ideal for richly formatted, untrusted HTML with configurable tag and CSS support.
strip_tags() suffices, though even then HTML Purifier provides more safetyHow can I help you explore Laravel packages today?