TYPO3 Mjml.io integration
Find a file
2026-01-06 16:06:50 +01:00
.github/workflows [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
Classes [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
Configuration [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
Resources/Public/Icons [TASK] Move extension icon to right place 2017-12-14 18:19:04 +01:00
Tests/Functional [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
.gitattributes [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
.gitignore [TAKS] Add package-lock.json (#10) 2018-01-02 15:30:03 +01:00
.php-cs-fixer.php [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
.styleci.yml [TASK] Add .styleci.yml file 2018-08-15 21:24:08 +02:00
.travis.yml Update travis 2021-01-26 10:16:39 +01:00
composer.json [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
ext_conf_template.txt [TASK][SECURITY][!!!] Update to mjml 4 due to security npm issues 2018-06-13 10:28:05 +02:00
package-lock.json Update npm packages 2021-04-12 16:11:11 +02:00
package.json [TASK] Update mjml to 4.6.2 + ext 1.0.4 2020-03-15 10:08:02 +01:00
phpcs.xml.dist TASK: Fix CGL Issues 2017-12-14 22:32:08 +01:00
phpstan-baseline.neon [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
phpstan.neon [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
phpunit.xml.dist [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00
README.md [TASK] SAC-4031 Integrate QA tools and CI 2025-12-16 08:10:41 +01:00

MJML

https://mjml.io integration for TYPO3

MJML is a markup language designed to reduce the pain of coding a responsive email. Its semantic syntax makes it easy and straightforward and its rich standard components library speeds up your development time and lightens your email codebase. MJMLs open-source engine generates high quality responsive HTML compliant with best practices. https://mjml.io/getting-started-onboard

Installation

Over composer:

composer require saccas/mjml

NPM

Npm is needed for the conversion of the MJML file to HTML

Usage in EXT:Form

You can overwrite the default finishersEmailMixin so that he uses the MjmlEmailFinisher or create your own.

TYPO3:
  CMS:
    Form:
      mixins:
        finishersEmailMixin:
          implementationClassName: 'Saccas\Mjml\Domain\Finishers\MjmlEmailFinisher'

MJML Documentation

https://mjml.io/documentation/

Usage in your distribution

To automate the installation of the npm packages, you could add the following lines to your composer.json

	"scripts": {
		"post-install-cmd": [
			"cd vendor/saccas/mjml && npm prune --production"
		],
		"post-update-cmd": [
			"cd vendor/saccas/mjml && npm prune --production"
		],
		"pre-deploy": [
			"cd vendor/saccas/mjml && npm prune --production"
		]
	}

Changelog

v3.0.0

  • Support TYPO3 v13.
  • Add basic CI with QA tooling.

v2.0.0

Support TYPO3 v11.