symfony-bundle postmark-swiftmailer-bundle
A Symfony2 bundle that provides a Postmark transport implementation for SwiftMailer
accord/postmark-swiftmailer-bundle
A Symfony2 bundle that provides a Postmark transport implementation for SwiftMailer
- Wednesday, June 7, 2017
- by Kyoushu
- Repository
- 2 Watchers
- 1 Stars
- 343 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 1 Open issues
- 1 Versions
- 9 % Grown
PostmarkSwiftMailerBundle
A Symfony2 bundle that provides a Postmark transport implementation for SwiftMailer, (*1)
Installation
Add bundle to composer.json
"require": {
"php": ">=5.3.2",
"symfony/symfony": "~2.1",
"_comment": "your other packages",
"accord/postmark-swiftmailer-bundle": "dev-master",
}
Add AccordPostmarkSwiftMailerBundle to application kernel
// app/AppKernel.php
public function registerBundles()
{
return array(
// ...
new Accord\PostmarkSwiftMailerBundle\AccordPostmarkSwiftMailerBundle(),
// ...
);
}
Add your API key to app/config/config.yml
accord_postmark_swift_mailer:
api_key: POSTMARK_API_KEY
use_ssl: true # Optional, true by default
swiftmailer:
transport: accord_postmark