{"id":20213757,"url":"https://github.com/dachcom-digital/pimcore-emailizr","last_synced_at":"2025-04-07T11:06:08.543Z","repository":{"id":45379713,"uuid":"102086674","full_name":"dachcom-digital/pimcore-emailizr","owner":"dachcom-digital","description":"Pimcore Emailizr - valid email markup generator","archived":false,"fork":false,"pushed_at":"2025-01-09T07:17:23.000Z","size":188,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-31T09:07:55.932Z","etag":null,"topics":["email-template","inky","pimcore","zurb-email"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dachcom-digital.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-01T07:35:53.000Z","updated_at":"2025-01-09T07:15:50.000Z","dependencies_parsed_at":"2024-06-18T18:41:53.037Z","dependency_job_id":"d3e49d18-a369-499d-8ca1-e37da01d2461","html_url":"https://github.com/dachcom-digital/pimcore-emailizr","commit_stats":{"total_commits":120,"total_committers":9,"mean_commits":"13.333333333333334","dds":0.2416666666666667,"last_synced_commit":"b7cc8f443e66ecae8af942f68d619b2eebe7c23f"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-emailizr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-emailizr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-emailizr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dachcom-digital%2Fpimcore-emailizr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dachcom-digital","download_url":"https://codeload.github.com/dachcom-digital/pimcore-emailizr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640462,"owners_count":20971557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["email-template","inky","pimcore","zurb-email"],"created_at":"2024-11-14T06:11:28.548Z","updated_at":"2025-04-07T11:06:08.517Z","avatar_url":"https://github.com/dachcom-digital.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pimcore Emailizr\n\n[![Software License](https://img.shields.io/badge/license-GPLv3-brightgreen.svg?style=flat-square)](LICENSE.md)\n[![Software License](https://img.shields.io/badge/license-DCL-white.svg?style=flat-square\u0026color=%23ff5c5c)](LICENSE.md)\n[![Latest Release](https://img.shields.io/packagist/v/dachcom-digital/emailizr.svg?style=flat-square)](https://packagist.org/packages/dachcom-digital/emailizr)\n[![Tests](https://img.shields.io/github/actions/workflow/status/dachcom-digital/pimcore-emailizr/.github/workflows/codeception.yml?branch=master\u0026style=flat-square\u0026logo=github\u0026label=codeception)](https://github.com/dachcom-digital/pimcore-emailizr/actions?query=workflow%3A%22Codeception%22)\n[![PhpStan](https://img.shields.io/github/actions/workflow/status/dachcom-digital/pimcore-dynamic-search/.github/workflows/php-stan.yml?branch=master\u0026style=flat-square\u0026logo=github\u0026label=phpstan%20level%204)](https://github.com/dachcom-digital/pimcore-emailizr/actions?query=workflow%3A%22PHP%20Stan%22)\n\n### Requirements\n- Pimcore ^11.4\n- PHP \u003e= 8.1\n- Twig \u003e= 3.9\n\n### Release Plan\n\n| Release   | Supported Pimcore Versions | Supported Symfony Versions | Release Date | Maintained     | Branch                                                              |\n|-----------|----------------------------|----------------------------|--------------|----------------|---------------------------------------------------------------------|\n| **\u003e=3.1** | `11.4`                     | `^6.4`                     | 08.01.2025   | Feature Branch | master                                                              |\n| **3.x**   | `11.0`                     | `^6.2`                     | 30.08.2023   | Feature Branch | master                                                              |\n| **2.x**   | `10.1` - `10.6`            | `^5.4`                     | 21.09.2021   | No             | [2.x](https://github.com/dachcom-digital/pimcore-emailizr/tree/2.x) |\n| **1.x**   | `6.0` - `6.9`              | `3.4`, `^4.4`              | 06.12.2017   | No             | [1.x](https://github.com/dachcom-digital/pimcore-emailizr/tree/1.x) |\n\n## Installation\n\n```json\n\"require\" : {\n    \"dachcom-digital/emailizr\" : \"~3.2.0\",\n}\n```\n\nAdd Bundle to `bundles.php`:\n```php\nreturn [\n    EmailizrBundle\\EmailizrBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n- Create valid email markup with inky and inline styles. \n- Respect editables in pimcore edit mode.\n\n## Usage\nJust extend the emailizr layout:\n\n```twig\n{% extends '@Emailizr/layout.html.twig' %}\n```\n\nThis will include a markup like this. You may want to change it:\n```twig\n{% apply spaceless %}\n{{ emailizr_style_collector.add('@EmailizrBundle/public/css/foundation-for-emails/foundation.min.css') }}\n{% emailizr_inline_style %}\n\u003c!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"\u003e\n\u003chtml xmlns=\"http://www.w3.org/1999/xhtml\"\u003e\n\u003chead\u003e\n    \u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /\u003e\n    \u003cmeta name=\"viewport\" content=\"width=device-width\"/\u003e\n    {% block headStyles %}\n        \u003cstyle type=\"text/css\"\u003e\n            {% autoescape false %}\n                {{ emailizr_inline_style(emailizr_style_collector) }}\n            {% endautoescape %}\n        \u003c/style\u003e\n    {% endblock %}\n\u003c/head\u003e\n{% apply inky_to_html %}\n    \u003cbody\u003e\n        {% block body %}\n            \u003ctable class=\"body\"\u003e\n                \u003ctr\u003e\n                    \u003ctd class=\"center\" align=\"center\" valign=\"top\"\u003e\n                        \u003ccenter\u003e\n                            {% block content %}\n                            {% endblock %}\n                        \u003c/center\u003e\n                    \u003c/td\u003e\n                \u003c/tr\u003e\n            \u003c/table\u003e\n            \u003c!-- prevent Gmail on iOS font size manipulation --\u003e\n            \u003cdiv style=\"display:none; white-space:nowrap; font:15px courier; line-height:0;\"\u003e \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u0026nbsp; \u003c/div\u003e\n        {% endblock %}\n        \u003c/body\u003e\n{% endapply %}\n\u003c/html\u003e\n{% end_emailizr_inline_style %}\n{% endapply %}\n```\n\n### Service\nIf you need to parse values in a custom context, you may use the ContentService.\n\n```php\n\u003c?php\n\nuse EmailizrBundle\\Service\\ContentService;\n\nclass YourClass\n{\n    public function __construct(protected ContentService $contentService)\n    {\n    }\n\n    public function parse($content)\n    {\n        $cssFile = PIMCORE_WEB_ROOT . '/static/css/email.css';\n\n        return $this-\u003econtentService-\u003echeckContent($content, $cssFile, FALSE, TRUE, TRUE);\n    }\n}\n```\n\n### Further Information\n- [Use Emailizr with FormBuilder](docs/10_FormBuilder.md)\n\n## Upgrade Info\nBefore updating, please [check our upgrade notes!](UPGRADE.md)\n\n## License\n**DACHCOM.DIGITAL AG**, Löwenhofstrasse 15, 9424 Rheineck, Schweiz  \n[dachcom.com](https://www.dachcom.com), dcdi@dachcom.ch  \nCopyright © 2025 DACHCOM.DIGITAL. All rights reserved.  \n\nFor licensing details please visit [LICENSE.md](LICENSE.md)  ","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachcom-digital%2Fpimcore-emailizr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdachcom-digital%2Fpimcore-emailizr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdachcom-digital%2Fpimcore-emailizr/lists"}