daruwanov / silex-provider-mandrill-messages
Installs: 2 896
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- mandrill/mandrill: 1.0.52
- silex/silex: >=1.0
Requires (Dev)
- phpunit/phpunit: ~3.5
This package is not auto-updated.
Last update: 2024-12-21 16:20:42 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" } }