hometogo/mandrill-bundle

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (dev-master) of this package.

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

dev-master 2016-11-22 09:33 UTC

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: ~ to paramters.yml and conform container integrity via following command:

    composer install