fom/module-setup-fixtures-email-data

Example email template fixtures for the FriendsOfMagento setup-fixtures email adapter.

Maintainers

Package info

github.com/FriendsOfMagento/module-setup-fixtures-email-data

Language:HTML

Type:magento2-module

pkg:composer/fom/module-setup-fixtures-email-data

Transparency log

Statistics

Installs: 0

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

1.0.0 2026-08-23 20:01 UTC

This package is auto-updated.

Last update: 2026-08-23 20:09:00 UTC


README

Example email template fixtures for FriendsOfMagento Setup Fixtures Email.

This consumer module demonstrates HTML and plain-text template fixtures, sidecar bodies, optional CSS, translated subjects and content, Magento email header and footer templates, template variables, and DI registration.

Installation

composer require fom/module-setup-fixtures-email-data
bin/magento module:enable Fom_SetupFixturesEmailData
bin/magento setup:upgrade

Supported versions

Magento 2.4.4–2.4.6 and PHP 8.1 are not supported.

Magento PHP
2.4.7 8.2, 8.3
2.4.8 8.3, 8.4
2.4.9 8.5

The package depends directly on the email adapter and uses its bounded Magento component families. The consuming Magento metapackage controls the exact security patch.

Mage-OS

Mage-OS PHP Magento base
3.4.0 8.3, 8.4, 8.5 2.4.9

Mage-OS 3.4 replaces the Magento 2.4.9 framework and email component packages, so the adapter dependency chain supports both distributions. See the Mage-OS release policy and system requirements.

Included fixtures

fixtures/email/template/
├── example-html.json
├── example-html.html
├── example-html.css
├── example-text.json
└── example-text.txt

The HTML example uses Magento's configured email header and footer templates. Both examples use trans directives and declare customer.name in orig_template_variables. Import them with:

bin/magento setup:fixtures:validate --entity-type=email_template
bin/magento setup:fixtures:import --entity-type=email_template

Email templates are global. Assigning their generated numeric IDs to store configuration paths remains a project-level operation.

Hyva

The fixtures use Magento's native email template storage and need no Hyvä-specific adapter. A Hyva storefront can install hyva-themes/magento2-email-module when Magento email LESS styling is required.

License

Licensed under the Open Software License 3.0.