Download the PHP package aimeos/ai-swiftmailer without Composer
On this page you can find all versions of the php package aimeos/ai-swiftmailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download aimeos/ai-swiftmailer
More information about aimeos/ai-swiftmailer
Files in aimeos/ai-swiftmailer
Package ai-swiftmailer
Short Description SwiftMailer adapter for Aimeos web shops and e-commerce solutions
License LGPL-3.0-or-later
Homepage https://aimeos.org/
Informations about the package ai-swiftmailer
Aimeos Swiftmailer adapter
The Aimeos web shop components can integrate into almost any PHP application and uses the infrastructure of the application for building URLs, caching content, configuration settings, logging messages, session handling, sending e-mails or handling translations.
The ai-swiftmailer extension integrates the PHP Swiftmailer library for handling e-mails into Aimeos. It's required if your application uses Swiftmailer for sending e-mails and offers access to a Swiftmailer object that can be used together with this extension.
Table of content
- Installation
- Setup
- License
- Links
Installation
To allow the Aimeos web shop components accessing the e-mail infrastructure of your own framework or application, you have to install the adapter first. As every Aimeos extension, the easiest way is to install it via composer. If you don't have composer installed yet, you can execute this string on the command line to download it:
Add the ai-swiftmailer extension to the "require" section of your file:
If you don't want to use the latest version, you can also install any release. The list of releases is available at Packagist. Afterwards you only need to execute the composer update command on the command line:
Setup
Now add the Swiftmailer object to the Aimeos context, which you have to create to get the Aimeos components running:
Initializing and creating a Swiftmailer object is a resource intensive task. Therefore, it's best to avoid passing the Swiftmailer object directly to the constructor (which is also possible) but to use a closure that can create the object on demand.
License
The Aimeos ai-swiftmailer extension is licensed under the terms of the LGPLv3 license and is available for free.
Links
All versions of ai-swiftmailer with dependencies
swiftmailer/swiftmailer Version ~5.0||~6.0
aimeos/aimeos-core Version 2021.10.*