monsieurmechant / sf2-simple-mailer-bundle
A simple extensible mailer interface and bundle.
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.4.0
- symfony/framework-bundle: ~2.3
- symfony/swiftmailer-bundle: ~2.3
This package is not auto-updated.
Last update: 2024-12-25 19:12:11 UTC
README
A library agnostic mailer for Symfony 2.
This bundle is basically an interface for Mailing Providers (Swift Mailer implementation is included OOTB), a simple Mail wrapper object and an interface for templates.
It is deliberately simple and barebone. I use it as a starting point for mailing in my projects. Use it and modify it as you please (or not, you do you).
Installation
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
$ composer require monsieurmechant/sf2-simple-mailer-bundle "*"
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = [ // ... new Mechant\SimpleMailer\SimpleMailerBundle(), ]; // ... } // ... }