Download the PHP package felds/quick-mailer-bundle without Composer
On this page you can find all versions of the php package felds/quick-mailer-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package quick-mailer-bundle
QuickMailerBundle
This bundle provides an easily configurable façade for sending transactional emails without having to build the message from scratch every time.
It has a limited scope by design, it's not infinitely configurable and it's not made to work outside a typical Symfony installation.
Installation
Step 0: Before we begin
Under the hood, QuickMailer uses Twig as its template engine, SwiftMailer to actually send the messages and Monolog to keep tabs on what is happening.
Make sure that those three bundles are installed and properly configured.
Step 1: Download the bundle
Open a terminal, cd
into your project directory and execute the following
command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
If you are using Symfony Flex and have contrib recipes enabled, it's all done.
Configuration
to be done
Usage
Step 1: Create a template
Using this bundle, the whole message is composed from a single twig template.
The typical message looks something like this:
Of course, you can use includes, extends and everything else available on Twig
(even your own extensions!). Just keep in mind that each main block (subject
,
html
and text
) are rendered separately, and they are not visible to one
another. Ex: a set
declared outside the html
block will not work inside it.
Step 2: Add it to the configuration
Step 3: Send the email
To do
Code
- [ ] Add tests
Docs
- [ ] Config reference
- [ ] Examples of how to integrate it with other tools
- [ ] Guides
All versions of quick-mailer-bundle with dependencies
psr/log Version ^1.0
symfony/config Version ^4.0
symfony/dependency-injection Version ^4.0
symfony/http-kernel Version ^4.0
symfony/twig-bundle Version ^4.0
symfony/swiftmailer-bundle Version ^3.0