xm/mail-manager-bundle

Uses Twig and SwiftMailer to create emails based on templates/views.

0.3.1 2019-02-05 16:35 UTC

This package is auto-updated.

Last update: 2024-10-06 09:40:40 UTC


README

Uses Twig and SwiftMailer to create emails based on templates/views.

Installation

Step 1: Download the Bundle

This package is not on Packagist, so the repository will need to be added manually in composer.json

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

$ php composer.phar require xm/mail-manager-bundle

This command requires Composer.

Step 2: Enable the Bundle

Then, enable the bundle by adding it to the list of registered bundles in the app/AppKernel.php file of your project:

<?php
// app/AppKernel.php

// ...
class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new XM\MailManagerBundle\XMMailManagerBundle(),
        );

        // ...
    }
}