mnot/hinclude
Laravel package that adds Server Side Includes (hinclude) support, letting you compose pages from reusable fragments and render parts independently. Useful for micro-frontends, partial caching, and speeding up complex views by loading sections separately.
@include).<link rel="hinclude"> and JavaScript) without heavy frameworks (e.g., React, Vue).@include or PHP’s include() suffice).For Executives: "This package lets us build faster, more modular web apps by declaratively including external content (like widgets or partials) without full-page reloads. Think of it as ‘copy-paste for the web’—teams can assemble pages dynamically, reducing dev time and improving performance. It’s lightweight, standards-based, and plays well with our Laravel stack, enabling use cases like A/B testing or third-party integrations without reinventing the wheel."
For Engineering: *"mnot/hinclude gives us a client-side inclusion system that’s simpler than custom AJAX solutions but more flexible than server-side templating. Key benefits:
<div hinclude="partials/header.html">).For Design/Systems: "This enables component-driven design at scale. Designers can define reusable UI blocks (e.g., cards, modals) as ‘includeable’ assets, while developers manage their inclusion logic. It’s a middle ground between rigid server-side templates and monolithic frontend frameworks."
How can I help you explore Laravel packages today?