Skip to content

HTML Sanitizer Component

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

html sanitizer Purifier

Use Composer to install this package in your PHP project:

$ composer require symfony/html-sanitizer

Sponsor this package Your support keeps it maintained, well documented, and moving forward. In return, your logo and a short description of your company will be featured in this section.

Contact us to learn more.

Latest Version
8.0.8
License
MIT
Total Downloads
33 million
Monthly Downloads
2,530,035
Dependents
51
Stars
279
First Release
December 2021