hometogo / mandrill-bundle
Swiftmailer-Mandrill integration for Symfony2
Installs: 3 672
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 29
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4
- mandrill/mandrill: ^1.0
- swiftmailer/swiftmailer: ^5.4
- symfony/config: ^2.7
- symfony/dependency-injection: ^2.7
- symfony/http-kernel: ^2.7
This package is not auto-updated.
Last update: 2018-05-05 13:22:49 UTC
README
Bundle is used to allow sending mails through Mandrill while using Swiftmailer.
Installation
-
Run the following in terminal:
composer require hometogo/mandrill-bundle
-
Register the bundle in your
AppKernel.php
file:<?php // in AppKernel::registerBundles() $bundles = array( // ... new Htg\MandrillBundle\HtgMandrillBundle(), );
-
Add your API key to app/config/parameters.yml.dist:
mandrill_key: ~
-
Configure bundle to use your key app/config/config.yml:
mandrill: api_key: %mandrill_key%
-
Register mandrill transport app/config/config.yml:
swiftmailer: default_mailer: mandrill # optional mailers: mandrill: transport: mandrill
-
Add
mandrill_key: ~
toparamters.yml
and conform container integrity via following command:composer install