PHPackages                             wemakecustom/swiftmailer-twig-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. wemakecustom/swiftmailer-twig-bundle

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

wemakecustom/swiftmailer-twig-bundle
====================================

WeMakeCustom Bridge between SwiftMailer Twig

v1.1(8y ago)33334MITPHPPHP &gt;=5.3.3

Since Mar 21Pushed 8y ago4 watchersCompare

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

READMEChangelog (3)Dependencies (3)Versions (3)Used By (0)

WMC SwiftMailer Twig bridge
===========================

[](#wmc-swiftmailer-twig-bridge)

This bundle provides an easy way to create email templates using Twig for the SwiftMailer library.

This helper is inspired from [FOSUB TwigSwiftMailer](https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Mailer/TwigSwiftMailer.php).

If you're using FOS User Bundle, we also provide a mailer service drop-in replacement to support our additional features.

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

[](#installation)

### With Symfony

[](#with-symfony)

The best way to install this extension is through composer:

First, require the bundle:

```
composer require wemakecustom/swiftmailer-twig-bundle "^1.0"
```

Second, enable it:

```
