Symfony HTML Sanitizer

JSON →
library 8.1.0 ·php
verified Jun 19, 2026

Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.