HTML Sanitizer Component
Provides an object-oriented API to sanitize untrusted HTML input for safe insertion into a document's DOM.
- View Source Code
- MIT License
- 1 million downloads (9,186 per day)
- 27 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.
Installation
Use Composer to install this component in your PHP project:
$ composer require symfony/html-sanitizer