wikimedia/idle-dom
IDLeDOM provides PHP interfaces and helper traits for the DOM as defined by Web IDL, enabling type-safe documents, nodes, and elements with interchangeable implementations. It helps libraries offer standards-compliant DOM behavior without binding to a single backend.
wikimedia/idle-dom is a PHP library providing a lazy, interface-based DOM implementation. Instead of eagerly building a full DOMDocument tree, it exposes lightweight proxy objects that defer expensive work—node creation, traversal, and mutation—until data is actually accessed, reducing memory use and startup cost for DOM-heavy code.
IDLeDOM interfaces decouple consumers from the implementation.DOMDocument trees.How can I help you explore Laravel packages today?