HTML Sanitizer Component
Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
- Read Documentation
- View Source Code
- MIT License
- 9 million downloads (28,637 per day)
- 35 OSS projects use it
- First released on December 2021
Help Symfony by sponsoring the development of this package.
In exchange, we'll display the logo and description of your company in this section.
Contact us for more information.
Use Composer to install this component in your PHP project:
$ composer require symfony/html-sanitizer