NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist, #4754 most downloaded on Packagist
HTML5 DOMDocument PHP library (extends DOMDocument)
Latest stable
v2.11.0
Last release 5 months ago
21 Jun 2026
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 44 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
72 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix in removing duplicate metatags.
Fix in removing duplicate metatags.
Now every HTML code loaded or inserted without parent body or head tags will be inserted into the document body. Duplicate meta tags and title tags ar
Now every HTML code loaded or inserted without parent body or head tags will be inserted into the document body. Duplicate meta tags and title tags are now removed after new HTML is inserted. This enables HTML tags overwriting. Fix the DOM if multiple head or body tags are loaded. The attributes of the HTML, head, and body tags in the HTML code being passed to insertHTML() are now copied to the corresponding elements in the document DOM. This enables attributes overwrite.
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Nothing published for this version
Fix in values returned by getAttribute and getAttributes.
Fix in values returned by getAttribute and getAttributes.
Fixes and better UTF-8 support.
Fixes and better UTF-8 support.
Added custom autoloader. Better HTML entities support.
Added custom autoloader. Better HTML entities support.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.