Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
This package has been abandoned. Use laminas/laminas-escaper instead.
Generated on May 9, 2024 via composer

zendframework/zend-escaper 2.6.1

Securely and safely escape HTML, HTML attributes, JavaScript, CSS, and URLs
Package summary
Share
1
issue
1
high severity
meta
1
1
license
1
BSD-3-Clause
Package created
7 Feb 2013
Version published
5 Sep 2019
Maintainers
1
Total deps
1
Direct deps
0
License
BSD-3-Clause

Issues

1

1 high severity issue

high
via: zendframework/zend-escaper@2.6.1
Collapse
Expand

Licenses

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

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
zendframework/zend-escaper@2.6.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of zendframework/zend-escaper 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does zendframework/zend-escaper do?

The zend-escaper gives developers the power to escape output and shield their applications from Cross-Site Scripting (XSS) attacks and other associated vulnerabilities. It's a composer package provided by zendframework that enables contextual escaping rooted in peer-reviewed rules, ensuring a robust defence against the second most notable web security risk as listed in the OWASP Top 10 study.

How do you use zendframework/zend-escaper?

This package is easy to incorporate into your work. First, you will need to install the library in your project using composer. You can do this with the following command:

$ composer require zendframework/zend-escaper

To use this in your PHP code, you will need to instantiate the Escaper class and call the necessary method. For example, to escape HTML you can simply use:

$escaper = new Zend\Escaper\Escaper('utf-8');
echo $escaper->escapeHtml($yourHtmlContent);

For the full range of methods available and how they can be implemented in different contexts, please refer to the package's documentation.

Where are the zendframework/zend-escaper docs?

You can find comprehensive documentation about zend-escaper at Zend-Escaper Documentation online. It provides information about installation, usage, and methods available, ensuring you have all the knowledge required to use this package effectively and securely. For any additional queries or issue resolution, you can reach out through the package's Issues on GitHub, engage with the developer community on their Chat platform, or participate in discussions on the official Forum.