xm / mail-manager-bundle
使用Twig和SwiftMailer基于模板/视图创建电子邮件。
0.3.1
2019-02-05 16:35 UTC
Requires
- php: ^5.6 || ^7.0
- symfony/swiftmailer-bundle: ~3.0
- symfony/symfony: ~3.0
This package is auto-updated.
Last update: 2024-09-06 09:30:57 UTC
README
使用Twig和SwiftMailer基于模板/视图创建电子邮件。
安装
步骤 1:下载包
此包不在Packagist上,因此需要在composer.json中手动添加仓库。
打开命令行,进入您的项目目录,并执行以下命令以下载此包的最新稳定版本
$ php composer.phar require xm/mail-manager-bundle
此命令需要Composer。
步骤 2:启用包
然后,通过将其添加到项目app/AppKernel.php
文件中注册的包列表中来启用包。
<?php // app/AppKernel.php // ... class AppKernel extends Kernel { public function registerBundles() { $bundles = array( // ... new XM\MailManagerBundle\XMMailManagerBundle(), ); // ... } }