Download the PHP package frosh/mjml without Composer
On this page you can find all versions of the php package frosh/mjml. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Vendor frosh
Package mjml
Short Description Compiles MJML email templates to HTML for Shopware mail sending
License MIT
Package mjml
Short Description Compiles MJML email templates to HTML for Shopware mail sending
License MIT
Please rate this library. Is it a good library?
Informations about the package mjml
FroshMjml
MJML email templates for Shopware 6 MJML in a mail's HTML body is compiled to
responsive HTML at send time — pure PHP (shyim/mjml-php), no Node required.
Requirements
- Shopware ~6.6.0
- PHP 8.2+
Installation
Usage
Per mail template: open a mail template, toggle Use MJML, and write MJML in the editor. The default HTML stays untouched, so the toggle is reversible.
Reusable components (Settings → MJML Components) are referenced from Twig:
{{ mjml_component('name', { headline: '…' }) }}— inline fragment{% mjml 'name' %}…{% endmjml %}— fragment with a{{ content }}slot{% extends mjml_base('name') %}{% block content %}…{% endblock %}— base layout
Content inside a block or slot must be valid MJML (<mj-text>…</mj-text> etc.);
raw text in an <mj-column> is dropped by MJML.
All versions of mjml with dependencies
PHP Build Version
Package Version
The package frosh/mjml contains the following files
Loading the files please wait ...