juaniquillo/mjml-backend-components
MJML backend components for Laravel provides ready-made building blocks for composing responsive MJML email templates in PHP, so you can assemble reusable components and render clean HTML emails without hand-writing markup.
composer require juaniquillo/mjml-backend-components. This is a 0.x release, so pin it ("juaniquillo/mjml-backend-components": "0.1.*") until the API stabilises.mjml Node binary or a PHP-side renderer; confirm which one this package expects and add it to your build/deploy image before writing templates.php artisan vendor:publish --tag=mjml-backend-components-config, and the views/components tag if present) and read the config file — that is the fastest way to see which components, paths, and rendering options the package actually exposes.build() or a Content/Envelope view, and keep a plain-text fallback so Mail::fake() assertions and non-HTML clients still work.&, or user-supplied strings (alt text, href query params, colours). Escaped output is correct behaviour; double-escaping (&) is not — check for htmlspecialchars calls in your own layer.{!! !!} don't mix. Never bypass Blade escaping for content that flows into MJML attributes; the package's own escaping only covers what it renders.storage/app/mjml-debug.html) and inspect that, not the Mailable object. If the output is empty or the tags are passed through verbatim, the renderer didn't run — check config, binary path, and whether the component is registered.actions/checkout 4 → 7) and rapid patch-level fixes; treat each 0.x bump as potentially markup-changing until your component tests say otherwise.How can I help you explore Laravel packages today?