leeroy/craftcms-email-test

Plugin to add test email sending and email templates

dev-main 2024-03-29 17:32 UTC

This package is auto-updated.

Last update: 2024-11-29 19:00:12 UTC


README

A module to test the templates of emails

Requirements

This module requires Craft CMS 3.0.0-RC1 or later.

Installation

To install the module, follow these instructions.

First, you'll need to add the contents of the app.php file to your config/app.php (or just copy it there if it does not exist). This ensures that your module will get loaded for each request. The file might look something like this:

return [
    'modules' => [
        'leeroy-email-test' => [
            'class' => leeroy\leeroyemailtest\LeeroyEmailTest::class,
            'components' => [
                'leeroyEmailTestService' => [
                    'class' => 'leeroy\leeroyemailtest\services\LeeroyEmailTestService',
                ],
            ],
        ],
    ],
    'bootstrap' => ['leeroy-email-test'],
];

You'll also need to make sure that you add the following to your project's composer.json file so that Composer can find your module:

"autoload": {
    "psr-4": {
      "leeroy\leeroyemailtest\\": "src/"
    }
},

After you have added this, you will need to do:

composer dump-autoload

…from the project’s root directory, to rebuild the Composer autoload map. This will happen automatically any time you do a composer install or composer update as well.

Leeroy Email Test Overview

-Insert text here-

Using Leeroy Email Test

-Insert text here-

Leeroy Email Test Roadmap

Some things to do, and ideas for potential features:

  • Release it

Brought to you by Antoine Chouinard