Context-aware output escaper for PHP (HTML, attribute, JavaScript, CSS, URL) — OWASP-aligned, dependency-free, PHP 7.4+.
-
Updated
Jun 11, 2026 - PHP
Context-aware output escaper for PHP (HTML, attribute, JavaScript, CSS, URL) — OWASP-aligned, dependency-free, PHP 7.4+.
Context-aware, just-sufficient output encoding to prevent XSS in HTML, attribute, URI, and CSS contexts
Add a description, image, and links to the output-encoding topic page so that developers can more easily learn about it.
To associate your repository with the output-encoding topic, visit your repo's landing page and select "manage topics."