ocean / laminas-escaper

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

Home Page:https://docs.laminas.dev/laminas-escaper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

laminas-escaper

Build Status Coverage Status

The OWASP Top 10 web security risks study lists Cross-Site Scripting (XSS) in second place. PHP’s sole functionality against XSS is limited to two functions of which one is commonly misapplied. Thus, the laminas-escaper component was written. It offers developers a way to escape output and defend from XSS and related vulnerabilities by introducing contextual escaping based on peer-reviewed rules.

Installation

Run the following to install this library:

$ composer require laminas/laminas-escaper

Documentation

Browse the documentation online at https://docs.laminas.dev/laminas-escaper/

Support

About

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

https://docs.laminas.dev/laminas-escaper/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 100.0%