【发布时间】:2021-08-08 07:25:37
【问题描述】:
我在 Ubuntu 20.04.2 LTS 上使用 PHP 版本 7.4.3。在其online documentation Symfony 中说要使用 composer 安装 swiftmailer:
推荐的安装 Swiftmailer 的方法是通过 Composer:
$ composer require "swiftmailer/swiftmailer:^6.0"
如果您不使用 Symfony,是否可以通过使用 apt 安装 swiftmailer 来获得类似的访问权限?
sudo apt-get update -y && sudo apt-get install -y php-swiftmailer
用apt安装后(说安装的版本是php-swiftmailer (5.4.2-1.1)),swiftmailer的使用参考文档在哪里? (man swiftmailer 和 man php-swiftmailer 都没有手动输入)。
【问题讨论】:
标签: php symfony composer-php swiftmailer