Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 851 Bytes

File metadata and controls

39 lines (29 loc) · 851 Bytes

silex-provider-mandrill-messages

Mandrill Messages service provider for silex micro-framework. This provider implement relations only with Mandrill_Messages class. For more information about mandrill\mandrill, please check here: https://packagist.org/packages/mandrill/mandrill

Example

<?php

use Silex\Application;
use Daruwanov\Provider\MandrillMessagesServiceProvider;

$app = new Application();
$app->register(new MandrillMessagesServiceProvider(), array(
            "mandrill" => array(
                'password'=>$password
              )
));

$m = $app['mandrill.messages'];
$m->sendTemplate($templatename, $templatedata, $messageData);

Install with Composer

{
require: {
             "daruwanov/silex-provider-mandrill-messages": "dev-master"
         }
}