Perry Rylance

Personal & Professional blog

DOMDocument 3.0.0 release

My popular DOMDocument library for PHP has been released and is now available on Packagist.

Version 3.0.0 doesn’t include any significant new features, but does include a bunch of PHP 8.3 compatibility changes. You can install via Composer by running composer require perry-rylance/dom-document.

The new version also includes Dockerized, cross-PHP-version testing, which will make things much simpler moving forwards as PHP continues to evolve. This is setup ready to connect to XDebug with VSCode for anyone wishing to contribute.

Running tests against a specific version of PHP.

Readers may also be interested in my DOMForm package. I’m currently using this in a private project, an experiment using Laravel with HTMX.