php-zendframework-zend-dom - Zend Framework Dom component

The Zend\Dom component provides tools for working with DOM documents and
structures. Currently, we offer Zend\Dom\Query, which provides a unified
interface for querying DOM documents utilizing both XPath and CSS selectors.
Documentation: https://zendframework.github.io/zend-dom/