PHPackages                             rollerworks/mail-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. rollerworks/mail-bundle

AbandonedArchivedSymfony-bundle[Templating &amp; Views](/categories/templating)

rollerworks/mail-bundle
=======================

Swiftmailer, Symfony2 Templating/Decorator Bundle

1.0.0(14y ago)3412MITPHP

Since May 16Pushed 10y agoCompare

[ Source](https://github.com/rollerworks/RollerworksMailBundle)[ Packagist](https://packagist.org/packages/rollerworks/mail-bundle)[ RSS](/packages/rollerworks-mail-bundle/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

RollerworksMailBundle
=====================

[](#rollerworksmailbundle)

This bundle provides Templating and Attachment Decorating for SwiftMailer with Symfony2

### Template

[](#template)

The SwiftMailer template decorator, handles e-mail messages using the Symfony Templating Component.

### AttachmentDecorator

[](#attachmentdecorator)

The SwiftMailer attachment decorator is similar to the Template decorator, but instead it handles mail attachments.

Installation
------------

[](#installation)

### Step 1: Using Composer (recommended)

[](#step-1-using-composer-recommended)

To install RollerworksMailBundle with Composer just add the following to your `composer.json` file:

```
// composer.json
{
    // ...
    require: {
        // ...
        "rollerworks/mail-bundle": "master-dev"
    }
}
```

**NOTE**: Please replace `master-dev` in the snippet above with the latest stable branch, for example `1.0.*`.

Then, you can install the new dependencies by running Composer's `update`command from the directory where your `composer.json` file is located:

```
$ php composer.phar update
```

Now, Composer will automatically download all required files, and install them for you. All that is left to do is to update your `AppKernel.php` file, and register the new bundle:

```
