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.1.7
License
MIT
Total Downloads
56 million
Monthly Downloads
5,916,928
Dependents
115
Stars
285
First Release
December 2021