Download the PHP package dnna/swiftmailer-enqueue-bundle without Composer
On this page you can find all versions of the php package dnna/swiftmailer-enqueue-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dnna/swiftmailer-enqueue-bundle
More information about dnna/swiftmailer-enqueue-bundle
Files in dnna/swiftmailer-enqueue-bundle
Package swiftmailer-enqueue-bundle
Short Description Swiftmailer Spool using the Enqueue message queue
License MIT
Homepage https://github.com/dnna/swiftmailer-enqueue-bundle
Informations about the package swiftmailer-enqueue-bundle
swiftmailer-enqueue-bundle
This is a symfony bundle that allows using an Enqueue message queue to spool and consume messages.
Basically an implementation of https://blog.forma-pro.com/spool-swiftmailer-emails-to-real-message-queue-9ecb8b53b5de with extra features like graceful shutdowns and other customization options.
Installation
Applications that use Symfony Flex
Open a command console, enter your project directory and execute:
Applications that don't use Symfony Flex
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:
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:
Usage
Below is the configuration reference for this bundle:
All parameters are optional and if not set will use the default values.
Warning: Installing this bundle changes swiftmailer:spool:send
into a blocking command.
This means it will not exit until the time or message limit specified has been reached.
If no limits are specified the command will never exit.