PHP Package: laminas/laminas-escaper

Laminas Escaper is a PHP library for secure and efficient output escaping in web applications, protecting against cross-site scripting (XSS) attacks.

Current Version: 2.16.0
Last Updated: 2025-02-17
PHP Requirement: >=7.1
Dependencies: laminas/laminas-stdlib, laminas/laminas-filter
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laminas Escaper is a robust and reliable PHP library designed to provide developers with a powerful tool for preventing security vulnerabilities such as cross-site scripting (XSS) attacks. By offering a comprehensive set of escaping strategies and techniques, Laminas Escaper ensures that your web applications remain secure and protected from malicious user input. With its intuitive API and seamless integration, Laminas Escaper is the ideal solution for ensuring the integrity and safety of your PHP projects.

🔗 View on GitHub

Download Latest Version: 2.16.0

Download Download v2.16.0

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php

// Example from PHPlibraries.com
require_once 'libs/laminas/laminas-escaper/2.16.0/autoload.php';

use Laminas\Escaper\Escaper;
use Laminas\Escaper\Exception\InvalidArgumentException;
use Laminas\Filter\FilterInterface;
use Laminas\Stdlib\ArrayUtils;


$obj = new Laminas\Escaper\Escaper();
echo "✅ Example created successfully.";

?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.