daruwanov/silex-provider-mandrill-messages

Installs: 2 898

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/daruwanov/silex-provider-mandrill-messages

v0.1 2014-03-26 15:18 UTC

This package is not auto-updated.

Last update: 2025-10-11 20:25:20 UTC


README

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"
         }
}