symfony/html-sanitizer
Symfony HtmlSanitizer provides an object-oriented API to sanitize untrusted HTML before inserting it into the DOM. Configure allowed/blocked tags and attributes, drop or keep children, force attribute values, enforce HTTPS, and restrict link schemes/hosts to prevent XSS and unsafe behavior.
Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
How can I help you explore Laravel packages today?