PHPackages                             botnyx/swift-twig - 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. botnyx/swift-twig

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

botnyx/swift-twig
=================

WeMakeCustom Bridge between SwiftMailer Twig

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

Since Mar 21Pushed 7y agoCompare

[ Source](https://github.com/botnyx/swiftmailer-twig-bundle)[ Packagist](https://packagist.org/packages/botnyx/swift-twig)[ RSS](/packages/botnyx-swift-twig/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (4)Used By (0)

Swift-Twig mailer bridge.
=========================

[](#swift-twig-mailer-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:

```
