PHP Package: stevebauman/purify

Purify is a PHP library for sanitizing and cleaning user input efficiently and securely, providing protection against harmful content.

Current Version: 6.3.1
Last Updated: 2025-05-21
PHP Requirement: >=7.4
Dependencies:
stevebauman/purify-dependency
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Purify is a robust PHP library designed to filter user-provided data, preventing XSS attacks and ensuring data integrity. It offers a wide range of sanitization methods, making it ideal for web applications and content management systems.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 6.3.1

Download Download v6.3.1

Previous Versions

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/stevebauman/purify/6.3.1/loader.php';
require_once 'libs/stevebauman/purify-dependency/{lib_version}/loader.php';

use Stevebauman\Purify\Purify;

$obj = new Purify();
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.