saccas / mjml
Mjml view using mjml over npm
Installs: 10 376
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 7
Forks: 1
Open Issues: 5
Language:HTML
Type:typo3-cms-extension
pkg:composer/saccas/mjml
Requires
- php: ^8.2
- html2text/html2text: ^4.3
- typo3/cms-core: ^13.4
- typo3/cms-form: ^13.4
Requires (Dev)
- phpstan/extension-installer: ^1.4
- saschaegerer/phpstan-typo3: ^2.1
- typo3/coding-standards: ^0.8.0
- typo3/testing-framework: ^9.3
This package is auto-updated.
Last update: 2026-01-12 08:37:21 UTC
README
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. MJML’s 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.