Skip to content

Enhance your Sylius store's mailing capabilities with this plugin

License

Notifications You must be signed in to change notification settings

Setono/sylius-mailer-plugin

Repository files navigation

Sylius Mailer Plugin

Latest Version Software License Build Status Code Coverage Mutation testing

Enhance your Sylius store's mailing capabilities with this plugin. For now the plugin provides a logging mechanism for all emails sent from your store.

Installation

  1. Require the plugin with Composer:

    composer require setono/sylius-mailer-plugin
  2. Add the plugin to your config/bundles.php file:

    return [
        // ...
    
        Setono\SyliusMailerPlugin\SetonoSyliusMailerPlugin::class => ['all' => true],
        Sylius\Bundle\GridBundle\SyliusGridBundle::class => ['all' => true],
    
        // ...
    ];

    Remember to add the plugin before the SyliusGridBundle.

  3. Import the plugin's routing configuration:

    # config/routes/setono_sylius_mailer.yaml
    setono_sylius_mailer:
        resource: "@SetonoSyliusMailerPlugin/Resources/config/routes.yaml"
  4. Run the database migrations:

    bin/console doctrine:migrations:diff
    bin/console doctrine:migrations:migrate

Usage

After installation, the plugin will automatically log all emails sent from your Sylius store. You can view the logged emails in the admin panel under the "Mailer > Sent Emails" section.

About

Enhance your Sylius store's mailing capabilities with this plugin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project