PHP Package: voku/anti-xss

A PHP library that provides robust protection against cross-site scripting (XSS) attacks, enhancing website security with advanced filtering methods.

Current Version: 4.1.42
Last Updated: Date not available
PHP Requirement: >=7.0.0
Dependencies:
voku/html-min
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The anti-xss library by voku is a reliable PHP tool designed to prevent malicious XSS vulnerabilities on web applications. With a focus on security, it offers a wide array of features, including HTML sanitization, input validation, and context-aware encoding. This library ensures that user input is sanitized effectively, safeguarding sensitive data and maintaining the integrity of websites.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.1.42

Download Download v4.1.42

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/voku/anti-xss/4.1.42/loader.php';
require_once 'libs/voku/html-min/{lib_version}/loader.php';

use Voku\AntiXSS\AntiXSS;

$obj = new AntiXSS();
echo '✅ Test OK: ' . get_class($obj);
?>

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

Community Discussion

Ask questions, share tips, or report issues below.