From 5cd97193864b7444ba3d13b163caf3e65ee12cec Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Wed, 15 Nov 2017 10:42:42 +0100 Subject: [PATCH] Added note about PHP version compatibility fixes #55 --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index b82b97e..0879fcf 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,14 @@ or add to the require section of your composer.json. +> Note: Version 2.1 of this extensions uses Swiftmailer 6, which requires PHP 7. If you are using PHP 5, +> you have to use version 2.0 of this extension, which uses Swiftmailer 5, which is compatible with +> PHP 5.4 and higher. Use the following version constraint in that case: +> +> ```json +> "yiisoft/yii2-swiftmailer": "~2.1.0" +> ``` + Usage -----