PHP Package: rhukster/dom-sanitizer

An SEO-optimized PHP library for sanitizing and manipulating DOM elements efficiently and securely.

Current Version: 1.0.7
Last Updated: 2023-11-06
PHP Requirement: >=7.3
Dependencies:
rhukster/dom-helper
symfony/css-selector
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The dom-sanitizer PHP library offers a comprehensive solution for cleaning and modifying HTML content with built-in security features. It provides a robust set of tools to ensure safe manipulation of DOM elements, making it ideal for web development projects that prioritize user input sanitization and security.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.0.7

Download Download v1.0.7

Code Integration Example

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

<?php
// Example from PHPlibraries.com
require_once 'libs/rhukster/dom-sanitizer/1.0.7/loader.php';
require_once 'libs/rhukster/dom-helper/{lib_version}/loader.php';
require_once 'libs/symfony/css-selector/7.3.0/loader.php';

use Rhukster\DomSanitizer\DomSanitizer;
use Rhukster\DomSanitizer\DomHelper;
use Symfony\Component\CssSelector\CssSelector;

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