Download the PHP package synolia/sylius-mail-tester-plugin without Composer
On this page you can find all versions of the php package synolia/sylius-mail-tester-plugin. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download synolia/sylius-mail-tester-plugin
More information about synolia/sylius-mail-tester-plugin
Files in synolia/sylius-mail-tester-plugin
Informations about the package sylius-mail-tester-plugin
Mail Tester Plugin
Test how your emails are rendered by sending them to your email from your Sylius admin panel.
Features
- See a list of all sylius emails
- Send example email one by one to your email address
- Send all example emails to your email address
- For each email, you have to select the entity to be used in the template.
Requirements
Version | |
---|---|
PHP | ^8.0 |
Sylius | ^1.10 |
Installation
-
Add the bundle and dependencies in your composer.json :
-
Enable the plugin in your
config/bundles.php
file by add - Create a new file
config/routes/mailtester.yaml
with:
Usage
- Log into admin panel
- Click on
Mail tester
in the Configuration section in main menu - Enter the email address that will receive the example email template
- Select the email you would like to be sent.
- Click on
Choose subject
- Fill empty boxes and select your entities.
- Click the Submit button.
Allow sending your custom emails
In order to be able to send a custom email with variables, you have to add a form type that will add those variables to the form. The important part is that your Form Type must implement ResolvableFormTypeInterface in order to be discovered by our FormTypeResolver.
Development
See How to contribute.
License
This library is under the MIT license.
Credits
Developed by Synolia.
All versions of sylius-mail-tester-plugin with dependencies
fakerphp/faker Version ^1.10
sylius/sylius Version ^1.10
symfony/framework-bundle Version ^5.4|^6.0
symfony/service-contracts Version ^1.1|^2.0|^3.0
webmozart/assert Version ^1.8