Skip to content

Commit c029ed6

Browse files
committed
Document PHP compatibility policy
1 parent e7864d7 commit c029ed6

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

contributing/community/releases.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,22 @@ deprecations, you can upgrade to the new major version (e.g. 5.0) without
101101
effort, because it contains the same features (the only difference are the
102102
deprecated features, which your project no longer uses).
103103

104+
PHP Compatibility
105+
-----------------
106+
107+
The **minimum** PHP version is decided for each major Symfony version by consensus
108+
amongst the :doc:`core team </contributing/code/core_team>` and documented as
109+
part of the :ref:`technical requirements for running Symfony applications
110+
<symfony-tech-requirements>`.
111+
112+
Throughout each Symfony release's support lifetime, all released versions of PHP
113+
including new major versions will be supported. In this way, the **maximum** supported
114+
version of PHP for a maintained Symfony release is simply the latest released
115+
one that is publicly available.
116+
117+
For out-of-support releases of Symfony, the version at time of EOL is the last
118+
supported PHP version. Newer versions of PHP may or may not function.
119+
104120
Rationale
105121
---------
106122

setup.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ Before creating your first Symfony application you must:
2020
* Install PHP 7.1 or higher and these PHP extensions (which are installed and
2121
enabled by default in most PHP 7 installations): `Ctype`_, `iconv`_, `JSON`_,
2222
`PCRE`_, `Session`_, `SimpleXML`_, and `Tokenizer`_;
23+
* Note that all newer, released versions of PHP will be supported during the
24+
lifetime of each Symfony release (including new major versions).
25+
For example, PHP 8.0 is supported.
2326
* `Install Composer`_, which is used to install PHP packages.
2427

2528
Optionally, you can also `install Symfony CLI`_. This creates a binary called

0 commit comments

Comments
 (0)