wikimedia/remex-html
RemexHTML is a pure PHP HTML5 parser and serializer from Wikimedia. It implements the WHATWG tokenizer and tree construction algorithms, builds a lightweight document tree, and supports serialization and tree mutation, powering robust HTML processing in MediaWiki and other projects.
RemexHtml is a fast, standards-compliant HTML5 parser and serializer for PHP, used by MediaWiki to process untrusted markup safely. It implements the WHATWG tokenizer and tree-construction algorithms, with interchangeable tree builders for DOM, event-driven, and custom output.
How can I help you explore Laravel packages today?