PHP Package: phpgt/dom

PHP DOM manipulation library for efficient and flexible document structure changes.

Current Version: 4.1.7
Last Updated: 2025-01-02
PHP Requirement: >=8.1
Dependencies: None

Package Description

The phpgt/dom library enables seamless DOM manipulation in PHP applications, allowing developers to perform efficient and flexible document structure changes. This library simplifies the creation, editing, and traversal of HTML documents in PHP, enhancing the development process. With a comprehensive set of functions, phpgt/dom streamlines DOM operations, facilitating the management of web content dynamically.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 4.1.8

Clock Coming soon

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/phpgt/dom/4.1.8/loader.php';

use PhpGt\Dom\Element;
use PhpGt\Dom\Document;

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