apie/html-builders
HTML builder utilities for the Apie ecosystem. Provides internal components to generate and compose HTML fragments in PHP, used by other Apie packages. Developed in the Apie monorepo; limited standalone documentation available.
Adopt When:
Look Elsewhere If:
For Executives: "This package lets us generate HTML components programmatically in PHP—like Lego blocks for UI elements—without writing raw HTML or relying on frontend teams. It’s a force multiplier for internal tools, admin panels, and API-driven interfaces, reducing tech debt and speeding up delivery. Low risk (MIT license), high reward for maintainability."
For Engineering:
"A lightweight, type-safe way to build HTML in Laravel/PHP 8.3+. Think of it as a modern alternative to str_replace() or manual string concatenation for dynamic UI. Works well with Laravel’s service containers and Symfony’s MIME tools. Tradeoff: minimal docs (but we can contribute back to the monorepo). Best for server-side HTML generation where Blade or JS frameworks aren’t options."
For Developers:
"Need to generate a table, card, or form dynamically? This package gives you fluent methods like Html::div()->class('btn')->text('Click Me') with zero XSS risk. Pair it with Laravel’s responses to return pre-rendered HTML from APIs—no frontend needed."
How can I help you explore Laravel packages today?