Skip to content

Commit e81520f

Browse files
committed
Document PHP 7.1 support
Fixes #2302
1 parent f92ec7e commit e81520f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ With PHPWord, you can create OOXML, ODF, or RTF documents dynamically using your
6060

6161
PHPWord requires the following:
6262

63-
- PHP 7.4+
63+
- PHP 7.1+
6464
- [XML Parser extension](http://www.php.net/manual/en/xml.installation.php)
6565
- [Laminas Escaper component](https://docs.laminas.dev/laminas-escaper/intro/)
6666
- [Zip extension](http://php.net/manual/en/book.zip.php) (optional, used to write OOXML and ODF)

docs/installing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Requirements
99
Mandatory:
1010

1111
- composer
12-
- PHP 7.4+
12+
- PHP 7.1+
1313
- `XML Parser <http://www.php.net/manual/en/xml.installation.php>`__ extension
1414

1515
Optional:

samples/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
use PhpOffice\PhpWord\Settings;
55

66
$requirements = [
7-
'php' => ['PHP 7.4', version_compare(PHP_VERSION, '7.4', '>=')],
7+
'php' => ['PHP 7.1', version_compare(PHP_VERSION, '7.1', '>=')],
88
'xml' => ['PHP extension XML', extension_loaded('xml')],
99
'temp' => ['Temp folder "<code>' . Settings::getTempDir() . '</code>" is writable', is_writable(Settings::getTempDir())],
1010
'zip' => ['PHP extension ZipArchive (optional)', extension_loaded('zip')],

0 commit comments

Comments
 (0)