2017 © Pedro Peláez
 

library silex-swiftmailer-serviceprovider

image

frostiede/silex-swiftmailer-serviceprovider

  • Sunday, October 16, 2016
  • by frostieDE
  • Repository
  • 1 Watchers
  • 1 Stars
  • 407 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

Silex SwiftMailer ServiceProvider

Build Status Code Climate, (*1)

ServiceProvider for Silex which enables mail(), sendmail and null transports for SwiftMailer., (*2)

Installation

$ composer require frostiede/silex-swiftmailer-serviceprovider

Afterwards, register the ServiceProvider:, (*3)

$app->register(new SwiftMailerServiceProvider(), [
    /** your options as you would provide in the Silex' SwiftMailerServiceProvider */
]);

Note: This is a replacement for the default SwiftMailerServiceProvider provided by Silex. So only use one of them., (*4)

Configuration

In order to use one of the three new supported transports, simply provide the transport in the constructor. Available options are:, (*5)

  • null
  • mail
  • sendmail

Example:, (*6)

$app->register(new SwiftMailerServiceProvider('null'), [
    /** your options as you would provide in the Silex' SwiftMailerServiceProvider */
]);

Contribution

Any help is welcomed. Feel free to create issues and merge requests :-), (*7)

License

MIT License, (*8)

The Versions

16/10 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marcel Marnitz

16/10 2016

v1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Marcel Marnitz