daruwanov / silex-provider-mandrill-messages
Package info
github.com/daruwanov/silex-provider-mandrill-messages
pkg:composer/daruwanov/silex-provider-mandrill-messages
v0.1
2014-03-26 15:18 UTC
Requires
- mandrill/mandrill: 1.0.52
- silex/silex: >=1.0
Requires (Dev)
- phpunit/phpunit: ~3.5
This package is not auto-updated.
Last update: 2026-02-28 22:36:36 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" } }