承接 frosh/mjml 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

frosh/mjml

Composer 安装命令:

composer require frosh/mjml

包简介

Compiles MJML email templates to HTML for Shopware mail sending

README 文档

README

⚠️ Work in progress — this plugin is still under active development and not yet production-ready. Expect breaking changes.

MJML email templates for Shopware 6.7. 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.7.0
  • PHP 8.2+

Installation

composer require frosh/mjml
bin/console plugin:refresh
bin/console plugin:install --activate FroshMjml

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.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固