Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Html5 Tagrewriter

Html5 Tagrewriter Laravel Package

webfactory/html5-tagrewriter

A lightweight PHP library that rewrites HTML5 elements into HTML4-compatible tags, helping legacy browsers render modern markup more reliably. It preserves content and attributes while offering a simple API for templates and content pipelines.

Deep Wiki
Context7

webfactory/html5-tagrewriter lets PHP DOMDocument parse and manipulate HTML5 markup without losing modern elements such as article, section, nav, or video. It rewrites unsupported HTML5 tags into safe placeholders before parsing, then restores the original tag names after processing, preserving structure, attributes, and content.

  • Seamless DOMDocument integration for HTML5 documents
  • Automatically rewrites and restores HTML5 elements
  • Preserves attributes, nesting, and inner content
  • Lightweight Composer package with a simple API
  • Useful for sanitizing, transforming, and inspecting modern HTML
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle
glavweb/extra-bundle
glavweb/api-bundle
glavweb/admin-bundle
adachsoft/api-version-bundle
elsayed85/laravel-api-exceptions
ouhssini/laravel-demo-mode
daworks/ncloud-outbound-mailer-driver
gp247/cms
ignibyte/aic-gates
nexa-merchant/blog
novasa/laravel-language-center
opencage/geocode
adolfoholzer/parameters
livenetworks/ln-starter
cgv/localized-resource