Download the PHP package astonishdesign/mandrill-bundle without Composer
On this page you can find all versions of the php package astonishdesign/mandrill-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download astonishdesign/mandrill-bundle
More information about astonishdesign/mandrill-bundle
Files in astonishdesign/mandrill-bundle
Package mandrill-bundle
Short Description Symfony HipMandrillBundle
License MIT
Homepage https://github.com/Hipaway-Travel/HipMandrillBundle
Informations about the package mandrill-bundle
HipMandrillBundle Fork
Send transactional mail through mandrill.com. This bundle provides an easy api for Symfony2 Projects.
All settings inside message class represent attributes of Mandrill's API. Please refer to their API documentation for Details:
https://mandrillapp.com/api/docs/messages.html
Prerequisites
Before you're able to use this bundle you must sign up with Mandrill.
Mandrill is a great way to send your transactional emails and provides detailed advances reports.
Mandrill is free for limited number of email per day, please read through pricing section on the website for more information:
Installation
Add the bundle to your composer.json
Run composer install
Enable the bundle in the kernel
<?php
// app/AppKernel.php
public function registerBundles()
{
$bundles = array(
// ...
new Hip\MandrillBundle\HipMandrillBundle(),
);
}
Configuration
Add configuration to config.yml.
Log in to Mandrill and go to "Settings" -> "SMTP and API Credentials". Create an API Key and use it in your Symfony2 Configuration.
To override the FOSUserBundle Mailer:
Now you're all set, send your first transactional mails:
Use
Simple controller Example:
All versions of mandrill-bundle with dependencies
symfony/config Version >=2.1,<2.7-dev
mandrill/mandrill Version 1.*