zend-escaper

Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs.

$ composer require zendframework/zend-escaper